Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001829/0.001829, allocations: 92.72 kB / 20.21 MB, free: 4.223 MB / 18.57 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.00223/0.00223, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 18.57 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.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9551/0.9551, allocations: 115 MB / 375.3 MB, free: 7.547 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 480.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.37e-05, allocations: 2.312 kB / 480.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006066/0.00609, allocations: 5.065 MB / 485.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1929/0.199, allocations: 133 MB / 0.6043 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.2004, allocations: 35.69 kB / 0.6044 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2018, allocations: 381.2 kB / 0.6047 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.2044, allocations: 0.5939 MB / 0.6053 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.207, allocations: 0.9076 MB / 0.6062 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002598/0.2096, allocations: 1.639 MB / 0.6078 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/0.2106, allocations: 491.1 kB / 0.6083 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.2118, allocations: 0.8341 MB / 0.6091 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.2125, allocations: 462.5 kB / 0.6095 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.2127, allocations: 140 kB / 0.6097 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.2138, allocations: 0.5071 MB / 0.6102 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.2141, allocations: 350.8 kB / 0.6105 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.2147, allocations: 446.8 kB / 0.6109 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.2174, allocations: 2.087 MB / 0.613 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2174, allocations: 0 / 0.613 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2174, allocations: 0 / 0.613 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.2174, allocations: 0 / 0.613 GB, free: 5.09 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003213/0.2206, allocations: 1.687 MB / 0.6146 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2207, allocations: 12.03 kB / 0.6146 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.2223, allocations: 379.3 kB / 0.615 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.224, allocations: 0.905 MB / 0.6159 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.2241, allocations: 78.16 kB / 0.6159 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.2243, allocations: 108 kB / 0.616 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.2265, allocations: 1.314 MB / 0.6173 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2265, allocations: 0 / 0.6173 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2266, allocations: 44 kB / 0.6174 GB, free: 388 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.2266, allocations: 24 kB / 0.6174 GB, free: 364 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.2287, allocations: 1.132 MB / 0.6185 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/0.2337, allocations: 2.53 MB / 0.621 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.2355, allocations: 0.7959 MB / 0.6217 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/0.2361, allocations: 298.7 kB / 0.622 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.062e-05/0.2362, allocations: 28.62 kB / 0.6221 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.2372, allocations: 0.6007 MB / 0.6226 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=86): time 2.365e-06/0.2372, allocations: 0 / 0.6226 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.003435/0.2406, allocations: 1.211 MB / 0.6238 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.2408, allocations: 192.9 kB / 0.624 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2419, allocations: 0.7591 MB / 0.6247 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.43e-05/0.242, allocations: 49.7 kB / 0.6248 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.2425, allocations: 0.5244 MB / 0.6253 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.2427, allocations: 281.5 kB / 0.6256 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.243, allocations: 186.6 kB / 0.6258 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2432, allocations: 334 kB / 0.6261 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.2438, allocations: 289.8 kB / 0.6263 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.2446, allocations: 0.5113 MB / 0.6268 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2459, allocations: 0.6442 MB / 0.6275 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2459, allocations: 0 / 0.6275 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002383/0.2483, allocations: 0.9778 MB / 0.6284 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2483, allocations: 4 kB / 0.6284 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2483, allocations: 0 / 0.6284 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/0.2493, allocations: 132.8 kB / 0.6286 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.2501, allocations: 167.8 kB / 0.6287 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.2525, allocations: 1.516 MB / 0.6302 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008913/0.2534, allocations: 87.58 kB / 0.6303 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.2535, allocations: 39.97 kB / 0.6303 GB, free: 2.746 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000766/0.2542, allocations: 312.2 kB / 0.6306 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.2545, allocations: 135.3 kB / 0.6308 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.2573, allocations: 1.091 MB / 0.6318 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.2573, allocations: 12 kB / 0.6318 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2573, allocations: 3.938 kB / 0.6318 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.2573, allocations: 7.969 kB / 0.6318 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.2613, allocations: 1.981 MB / 0.6338 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2613, allocations: 0 / 0.6338 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.2619, allocations: 143.8 kB / 0.6339 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007617/0.2627, allocations: 120.8 kB / 0.634 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.2628, allocations: 23.98 kB / 0.634 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.2651, allocations: 1.544 MB / 0.6356 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2651, allocations: 0 / 0.6356 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.2676, allocations: 1.073 MB / 0.6366 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.2681, allocations: 222.9 kB / 0.6368 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.2682, allocations: 20.06 kB / 0.6368 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.2689, allocations: 67.92 kB / 0.6369 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.2691, allocations: 80.8 kB / 0.637 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.2692, allocations: 35.98 kB / 0.637 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008189/0.27, allocations: 0.5224 MB / 0.6375 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/0.27, allocations: 4 kB / 0.6375 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001149/0.2712, allocations: 370.8 kB / 0.6379 GB, free: 10.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002589/0.2738, allocations: 0.666 MB / 0.6385 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.2758, allocations: 0.835 MB / 0.6393 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2758, allocations: 0 / 0.6393 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.2768, allocations: 0.5041 MB / 0.6398 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.2787, allocations: 486.6 kB / 0.6403 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.2825, allocations: 2.007 MB / 0.6423 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.2832, allocations: 0.5157 MB / 0.6428 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009109/0.2841, allocations: 291.6 kB / 0.643 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.2844, allocations: 120.4 kB / 0.6432 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of SimCode: time 1.393e-06/0.2844, allocations: 0 / 0.6432 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of Templates: time 0.2364/0.5208, allocations: 18.06 MB / 0.6608 GB, free: 170.9 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.550585221964866]