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.001004/0.001004, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001251/0.001251, allocations: 169.4 kB / 24.05 MB, free: 456 kB / 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.9623/0.9623, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.6694/0.6694, allocations: 115 MB / 376 MB, free: 7.52 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.934e-06/1.934e-06, allocations: 1.203 kB / 481.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.221e-05, allocations: 4 kB / 481.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005207/0.005229, allocations: 5.295 MB / 487.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1378/0.143, allocations: 144.1 MB / 0.6166 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1443, allocations: 35.69 kB / 0.6166 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.145, allocations: 373.2 kB / 0.617 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1467, allocations: 0.6054 MB / 0.6175 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1484, allocations: 0.9115 MB / 0.6184 GB, free: 68 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.1498, allocations: 1.643 MB / 0.62 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.1505, allocations: 495 kB / 0.6205 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009009/0.1514, allocations: 0.8653 MB / 0.6214 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.1518, allocations: 434.6 kB / 0.6218 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.152, allocations: 128 kB / 0.6219 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/0.1529, allocations: 0.4954 MB / 0.6224 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.1533, allocations: 334.8 kB / 0.6227 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.1536, allocations: 434.8 kB / 0.6231 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.1552, allocations: 1.389 MB / 0.6245 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1552, allocations: 0 / 0.6245 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1552, allocations: 0 / 0.6245 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1552, allocations: 0 / 0.6245 GB, free: 9.832 MB / 0.5417 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.001966/0.1572, allocations: 1.79 MB / 0.6262 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1572, allocations: 8.031 kB / 0.6262 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1582, allocations: 371.4 kB / 0.6266 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.1592, allocations: 0.8668 MB / 0.6274 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.1593, allocations: 78.16 kB / 0.6275 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1594, allocations: 104 kB / 0.6276 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1604, allocations: 0.9635 MB / 0.6285 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1604, allocations: 0 / 0.6285 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.1605, allocations: 48 kB / 0.6286 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.1605, allocations: 24 kB / 0.6286 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.1614, allocations: 0.7001 MB / 0.6293 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.1645, allocations: 2.438 MB / 0.6317 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.1652, allocations: 455.9 kB / 0.6321 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1654, allocations: 145.5 kB / 0.6322 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.948e-05/0.1655, allocations: 62.09 kB / 0.6323 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.1659, allocations: 470.4 kB / 0.6328 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=86): time 1.824e-06/0.1659, allocations: 0 / 0.6328 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.00118/0.1671, allocations: 0.7766 MB / 0.6335 GB, free: 248 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.1672, allocations: 208.9 kB / 0.6337 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.1676, allocations: 0.6864 MB / 0.6344 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.1677, allocations: 49.7 kB / 0.6344 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.168, allocations: 0.5738 MB / 0.635 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1681, allocations: 289.5 kB / 0.6353 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1683, allocations: 188.1 kB / 0.6354 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1684, allocations: 0.512 MB / 0.6359 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1685, allocations: 105.9 kB / 0.636 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1688, allocations: 345.7 kB / 0.6364 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.1694, allocations: 339 kB / 0.6367 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1694, allocations: 0 / 0.6367 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007617/0.1701, allocations: 0.637 MB / 0.6373 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1701, allocations: 4 kB / 0.6373 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1701, allocations: 4 kB / 0.6373 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.1705, allocations: 123.6 kB / 0.6374 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.1709, allocations: 179.7 kB / 0.6376 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.1721, allocations: 1.872 MB / 0.6394 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.1724, allocations: 83.42 kB / 0.6395 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.1724, allocations: 31.97 kB / 0.6396 GB, free: 9.762 MB / 0.5573 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002347/0.1727, allocations: 219 kB / 0.6398 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1728, allocations: 139.3 kB / 0.6399 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.1737, allocations: 0.7812 MB / 0.6407 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1737, allocations: 8 kB / 0.6407 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1737, allocations: 0 / 0.6407 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1737, allocations: 7.969 kB / 0.6407 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1753, allocations: 1.527 MB / 0.6422 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1754, allocations: 3.984 kB / 0.6422 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1756, allocations: 135.8 kB / 0.6423 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.1759, allocations: 115.6 kB / 0.6424 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.1759, allocations: 23.98 kB / 0.6424 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.1772, allocations: 1.891 MB / 0.6443 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1772, allocations: 0 / 0.6443 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.178, allocations: 0.8374 MB / 0.6451 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.1782, allocations: 207 kB / 0.6453 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.1783, allocations: 27.95 kB / 0.6453 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.1785, allocations: 35.97 kB / 0.6454 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.1786, allocations: 68.86 kB / 0.6454 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.1786, allocations: 27.98 kB / 0.6454 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002968/0.1789, allocations: 442.7 kB / 0.6459 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1789, allocations: 0 / 0.6459 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007218/0.1796, allocations: 363 kB / 0.6462 GB, free: 2.719 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.001184/0.1808, allocations: 0.6298 MB / 0.6468 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.1815, allocations: 0.6055 MB / 0.6474 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1815, allocations: 4.062 kB / 0.6474 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.1818, allocations: 452.9 kB / 0.6479 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.1828, allocations: 483.7 kB / 0.6483 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2247/0.4075, allocations: 1.758 MB / 0.65 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.4076, allocations: 221.4 kB / 0.6502 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006947/0.4083, allocations: 209.7 kB / 0.6504 GB, free: 40.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/0.409, allocations: 416.3 kB / 0.6508 GB, free: 40.12 MB / 0.5573 GB Notification: Performance of SimCode: time 2.144e-06/0.409, allocations: 0.9688 kB / 0.6508 GB, free: 40.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.02694/0.436, allocations: 19.4 MB / 0.6698 GB, free: 38.45 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.525815485976636]