Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.331/1.331, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002392/0.002392, allocations: 233.4 kB / 260 MB, free: 440 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8803/0.8803, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 107.8 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.384, allocations: 95.34 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004439/0.3884, allocations: 3.506 MB / 0.7438 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.393, allocations: 3.475 MB / 0.7472 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.3935, allocations: 13.38 kB / 0.7472 GB, free: 12.7 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.394, allocations: 128.6 kB / 0.7474 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.3955, allocations: 0.5087 MB / 0.7479 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.3963, allocations: 362.1 kB / 0.7482 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000884/0.3972, allocations: 0.7603 MB / 0.749 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3974, allocations: 139 kB / 0.7491 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.398, allocations: 328.8 kB / 0.7494 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.3984, allocations: 293.3 kB / 0.7497 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.3985, allocations: 65.53 kB / 0.7497 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.3995, allocations: 0.5434 MB / 0.7503 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3996, allocations: 170 kB / 0.7504 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3999, allocations: 266.1 kB / 0.7507 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4012, allocations: 1.169 MB / 0.7518 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4012, allocations: 0.6094 kB / 0.7518 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4012, allocations: 3.938 kB / 0.7518 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.4012, allocations: 1.375 kB / 0.7518 GB, free: 10.51 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001685/0.4029, allocations: 0.9611 MB / 0.7528 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4029, allocations: 10.59 kB / 0.7528 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/0.4066, allocations: 0.6498 MB / 0.7534 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4079, allocations: 0.569 MB / 0.754 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.408, allocations: 201.7 kB / 0.7542 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.4081, allocations: 50.19 kB / 0.7542 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.4096, allocations: 0.7684 MB / 0.755 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4096, allocations: 0.75 kB / 0.755 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.4096, allocations: 16.91 kB / 0.755 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4096, allocations: 10.97 kB / 0.755 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.4115, allocations: 0.754 MB / 0.7557 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.4144, allocations: 1.572 MB / 0.7573 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.417, allocations: 0.8 MB / 0.758 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/0.4178, allocations: 337.1 kB / 0.7584 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.4188, allocations: 203 kB / 0.7586 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00095/0.4198, allocations: 431.8 kB / 0.759 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.424e-06/0.4198, allocations: 1.156 kB / 0.759 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.00268/0.4225, allocations: 1.014 MB / 0.76 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4225, allocations: 109.7 kB / 0.7601 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.4229, allocations: 445.4 kB / 0.7605 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.423, allocations: 35.83 kB / 0.7605 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4231, allocations: 286.9 kB / 0.7608 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4232, allocations: 188.1 kB / 0.761 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.4234, allocations: 125.3 kB / 0.7611 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.4234, allocations: 363.3 kB / 0.7614 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008056/0.4242, allocations: 302.2 kB / 0.7617 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/0.4251, allocations: 499.6 kB / 0.7622 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4267, allocations: 0.6963 MB / 0.7629 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4267, allocations: 1.062 kB / 0.7629 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001968/0.4287, allocations: 0.8245 MB / 0.7637 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4287, allocations: 8.906 kB / 0.7637 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4287, allocations: 3.125 kB / 0.7637 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4288, allocations: 6 kB / 0.7637 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.4296, allocations: 173.9 kB / 0.7639 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4296, allocations: 13 kB / 0.7639 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.4303, allocations: 111.2 kB / 0.764 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.4304, allocations: 34.94 kB / 0.764 GB, free: 3.164 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.4306, allocations: 201.7 kB / 0.7642 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.4307, allocations: 51.98 kB / 0.7643 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.4328, allocations: 0.8851 MB / 0.7651 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4328, allocations: 10.94 kB / 0.7651 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4328, allocations: 0 / 0.7651 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4328, allocations: 8.766 kB / 0.7652 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.4353, allocations: 1.404 MB / 0.7665 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4353, allocations: 5.062 kB / 0.7665 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.4361, allocations: 146 kB / 0.7667 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4361, allocations: 2.312 kB / 0.7667 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.4361, allocations: 17.8 kB / 0.7667 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4362, allocations: 10.38 kB / 0.7667 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4362, allocations: 0 / 0.7667 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.4379, allocations: 0.8602 MB / 0.7675 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.4381, allocations: 131 kB / 0.7677 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.4382, allocations: 16.11 kB / 0.7677 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.4388, allocations: 63.5 kB / 0.7677 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.4388, allocations: 43.7 kB / 0.7678 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.4389, allocations: 21.73 kB / 0.7678 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002701/0.4392, allocations: 302 kB / 0.7681 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4392, allocations: 0 / 0.7681 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007991/0.44, allocations: 250.7 kB / 0.7683 GB, free: 0.5547 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001712/0.4417, allocations: 0.5917 MB / 0.7689 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.4435, allocations: 0.7041 MB / 0.7696 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4435, allocations: 3.938 kB / 0.7696 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.4444, allocations: 358.2 kB / 0.7699 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.4448, allocations: 72.45 kB / 0.77 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4471, allocations: 1.252 MB / 0.7712 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4474, allocations: 282.7 kB / 0.7715 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005746/0.448, allocations: 148.5 kB / 0.7716 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.4482, allocations: 79.38 kB / 0.7717 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.4482, allocations: 0 / 0.7717 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of Templates: time 0.01617/0.4644, allocations: 9.111 MB / 0.7806 GB, free: 9.535 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.884356230031699] Failed to read output from testmodel.py, exit status != 0: 0.47249112697318196 0.48626427200000005 0.082037099 Calling exit ...