Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009806/0.0009806, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001007/0.001007, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9972/0.9972, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 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.002118/0.002118, allocations: 234.8 kB / 260.5 MB, free: 12.7 MB / 250.7 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.7165/0.7165, allocations: 138.4 MB / 402.2 MB, free: 0.4961 MB / 362.7 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.41e-07/6.41e-07, allocations: 0 / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.785e-06/8.426e-06, allocations: 5.172 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005181/0.005189, allocations: 5.315 MB / 467.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1297/0.1349, allocations: 146.3 MB / 0.5995 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.1359, allocations: 31.69 kB / 0.5995 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.1365, allocations: 345.3 kB / 0.5999 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1378, allocations: 0.6169 MB / 0.6005 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1394, allocations: 0.9005 MB / 0.6014 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.1407, allocations: 1.61 MB / 0.6029 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.1413, allocations: 0.4925 MB / 0.6034 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.1422, allocations: 0.8536 MB / 0.6042 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.1425, allocations: 410.6 kB / 0.6046 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.1427, allocations: 124 kB / 0.6048 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006364/0.1433, allocations: 0.4915 MB / 0.6052 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004997/0.1438, allocations: 330.8 kB / 0.6055 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.1441, allocations: 414.9 kB / 0.6059 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1453, allocations: 1.381 MB / 0.6073 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1453, allocations: 0 / 0.6073 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1453, allocations: 0 / 0.6073 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.1453, allocations: 0 / 0.6073 GB, free: 2.754 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001543/0.1469, allocations: 1.617 MB / 0.6089 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1469, allocations: 8.75 kB / 0.6089 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.1477, allocations: 316.2 kB / 0.6092 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/0.1485, allocations: 0.723 MB / 0.6099 GB, free: 32 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.1486, allocations: 78.2 kB / 0.61 GB, free: 15.95 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.1487, allocations: 96 kB / 0.6101 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.1494, allocations: 0.9382 MB / 0.611 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1494, allocations: 2.062 kB / 0.611 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.1495, allocations: 44 kB / 0.611 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.1495, allocations: 24 kB / 0.611 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.1501, allocations: 0.5986 MB / 0.6116 GB, free: 14.17 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.1522, allocations: 1.738 MB / 0.6133 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.1526, allocations: 375.7 kB / 0.6137 GB, free: 12.04 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1527, allocations: 119.5 kB / 0.6138 GB, free: 11.92 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.1528, allocations: 28.62 kB / 0.6138 GB, free: 11.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.1531, allocations: 429.9 kB / 0.6142 GB, free: 11.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 1.723e-06/0.1531, allocations: 4 kB / 0.6142 GB, free: 11.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.0009246/0.154, allocations: 0.5258 MB / 0.6147 GB, free: 10.89 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1541, allocations: 188.6 kB / 0.6149 GB, free: 10.66 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.1545, allocations: 0.6381 MB / 0.6156 GB, free: 10.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.1545, allocations: 37.7 kB / 0.6156 GB, free: 9.969 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1547, allocations: 418.7 kB / 0.616 GB, free: 9.551 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1549, allocations: 261.7 kB / 0.6162 GB, free: 9.293 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.155, allocations: 154.5 kB / 0.6164 GB, free: 9.133 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.1551, allocations: 341.9 kB / 0.6167 GB, free: 8.793 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1552, allocations: 84.72 kB / 0.6168 GB, free: 8.711 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1554, allocations: 300.4 kB / 0.6171 GB, free: 8.379 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1557, allocations: 291.4 kB / 0.6174 GB, free: 8.078 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1557, allocations: 0 / 0.6174 GB, free: 8.078 MB / 0.573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0005678/0.1562, allocations: 434.9 kB / 0.6178 GB, free: 7.641 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1563, allocations: 4 kB / 0.6178 GB, free: 7.637 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1563, allocations: 3.938 kB / 0.6178 GB, free: 7.633 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.1566, allocations: 124.8 kB / 0.6179 GB, free: 7.508 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.1569, allocations: 148.3 kB / 0.618 GB, free: 7.363 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.1578, allocations: 1.308 MB / 0.6193 GB, free: 5.969 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.1581, allocations: 75.62 kB / 0.6194 GB, free: 5.895 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.1583, allocations: 23.97 kB / 0.6194 GB, free: 5.871 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (92): * Single equations (assignments): 91 * 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.0001749/0.1585, allocations: 159.3 kB / 0.6196 GB, free: 5.707 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.1586, allocations: 83.92 kB / 0.6196 GB, free: 5.625 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.1593, allocations: 0.612 MB / 0.6202 GB, free: 5.012 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1593, allocations: 8 kB / 0.6202 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1593, allocations: 2.5 kB / 0.6202 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1593, allocations: 3.984 kB / 0.6203 GB, free: 5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.1598, allocations: 499.4 kB / 0.6207 GB, free: 4.496 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1598, allocations: 0 / 0.6207 GB, free: 4.496 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.16, allocations: 131.8 kB / 0.6209 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.1603, allocations: 116.7 kB / 0.621 GB, free: 4.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1603, allocations: 15.98 kB / 0.621 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/0.1611, allocations: 1.325 MB / 0.6223 GB, free: 2.824 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1611, allocations: 0 / 0.6223 GB, free: 2.824 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.1617, allocations: 497.1 kB / 0.6227 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.1619, allocations: 163 kB / 0.6229 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1619, allocations: 20 kB / 0.6229 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1621, allocations: 37.36 kB / 0.623 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.1622, allocations: 69.38 kB / 0.623 GB, free: 2.031 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.1622, allocations: 23.97 kB / 0.623 GB, free: 2.008 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002286/0.1625, allocations: 323.3 kB / 0.6234 GB, free: 1.691 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1625, allocations: 3.938 kB / 0.6234 GB, free: 1.688 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004839/0.1629, allocations: 362.8 kB / 0.6237 GB, free: 1.332 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001342/0.1643, allocations: 0.7454 MB / 0.6244 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.1648, allocations: 493.1 kB / 0.6249 GB, free: 476 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.1648, allocations: 8 kB / 0.6249 GB, free: 468 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.1651, allocations: 347 kB / 0.6252 GB, free: 104 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.1659, allocations: 485.1 kB / 0.6257 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1682, allocations: 1.756 MB / 0.6274 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1683, allocations: 210.8 kB / 0.6276 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.1687, allocations: 210.2 kB / 0.6278 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.1692, allocations: 346.9 kB / 0.6282 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.1692, allocations: 0 / 0.6282 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.02147/0.1907, allocations: 19.06 MB / 0.6468 GB, free: 10.44 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.350735522806644]