Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.0009631/0.0009631, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009711/0.0009711, allocations: 169 kB / 23.02 MB, free: 1.547 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.9969/0.9969, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001774/0.001774, allocations: 245.1 kB / 260.2 MB, free: 12.82 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.7881/0.7881, allocations: 138.4 MB / 455.2 MB, free: 30.05 MB / 410.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.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5551 GB, free: 212 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.984e-05, allocations: 5.125 kB / 0.5551 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.01266/0.01269, allocations: 5.126 MB / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4019/0.4146, allocations: 146.6 MB / 0.7032 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.4155, allocations: 24.84 kB / 0.7033 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.4161, allocations: 206.8 kB / 0.7035 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.4178, allocations: 0.6024 MB / 0.7041 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.4196, allocations: 0.8721 MB / 0.7049 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.4212, allocations: 1.512 MB / 0.7064 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/0.422, allocations: 413.1 kB / 0.7068 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.423, allocations: 0.7609 MB / 0.7075 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.4237, allocations: 416.9 kB / 0.7079 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.4239, allocations: 122.9 kB / 0.708 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.4249, allocations: 0.4998 MB / 0.7085 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.4252, allocations: 321.4 kB / 0.7088 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.4256, allocations: 401.2 kB / 0.7092 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.4273, allocations: 1.303 MB / 0.7105 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4273, allocations: 0 / 0.7105 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4273, allocations: 0 / 0.7105 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.91e-05/0.4273, allocations: 1 kB / 0.7105 GB, free: 49.96 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001946/0.4293, allocations: 1.559 MB / 0.712 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4293, allocations: 10.38 kB / 0.712 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.4302, allocations: 331.7 kB / 0.7123 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.431, allocations: 0.7323 MB / 0.713 GB, free: 48.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.431, allocations: 68.94 kB / 0.7131 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.4311, allocations: 91.41 kB / 0.7132 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.432, allocations: 1.025 MB / 0.7142 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4321, allocations: 0.8125 kB / 0.7142 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.4321, allocations: 41.19 kB / 0.7142 GB, free: 47.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.4321, allocations: 24.09 kB / 0.7143 GB, free: 47.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.433, allocations: 0.8083 MB / 0.7151 GB, free: 47.47 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.4353, allocations: 2.286 MB / 0.7173 GB, free: 46.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/0.4361, allocations: 0.5093 MB / 0.7178 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.4363, allocations: 182.9 kB / 0.718 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.4364, allocations: 32.34 kB / 0.718 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/0.4368, allocations: 495.1 kB / 0.7185 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 2.294e-06/0.4368, allocations: 0 / 0.7185 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.001533/0.4384, allocations: 0.8422 MB / 0.7193 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4384, allocations: 189.8 kB / 0.7195 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.4389, allocations: 0.6043 MB / 0.7201 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.4389, allocations: 43.23 kB / 0.7201 GB, free: 44.76 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4391, allocations: 476 kB / 0.7206 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4392, allocations: 289.7 kB / 0.7208 GB, free: 44.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.4394, allocations: 175 kB / 0.721 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4395, allocations: 0.5735 MB / 0.7216 GB, free: 43.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4397, allocations: 136.7 kB / 0.7217 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.44, allocations: 373.6 kB / 0.722 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.4405, allocations: 390.1 kB / 0.7224 GB, free: 43.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4405, allocations: 0.875 kB / 0.7224 GB, free: 43.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009755/0.4415, allocations: 0.6516 MB / 0.7231 GB, free: 42.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4415, allocations: 5.719 kB / 0.7231 GB, free: 42.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4415, allocations: 6.281 kB / 0.7231 GB, free: 42.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.442, allocations: 129.9 kB / 0.7232 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.4424, allocations: 174.5 kB / 0.7234 GB, free: 42.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.4435, allocations: 1.902 MB / 0.7252 GB, free: 41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.4439, allocations: 75.36 kB / 0.7253 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.4439, allocations: 38.95 kB / 0.7253 GB, free: 40.94 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (100): * Single equations (assignments): 99 * 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.0001967/0.4441, allocations: 215.6 kB / 0.7255 GB, free: 40.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4442, allocations: 119.4 kB / 0.7256 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.4453, allocations: 0.8379 MB / 0.7265 GB, free: 40.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.4454, allocations: 8.531 kB / 0.7265 GB, free: 40.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4454, allocations: 2.938 kB / 0.7265 GB, free: 40.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4454, allocations: 4.594 kB / 0.7265 GB, free: 40.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.4459, allocations: 0.6105 MB / 0.7271 GB, free: 40.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4459, allocations: 3.938 kB / 0.7271 GB, free: 40.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.4462, allocations: 158.2 kB / 0.7272 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.4466, allocations: 119.1 kB / 0.7273 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.4466, allocations: 26.56 kB / 0.7274 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008817/0.4475, allocations: 1.927 MB / 0.7292 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4475, allocations: 0 / 0.7292 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4487, allocations: 0.9296 MB / 0.7302 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.449, allocations: 202.9 kB / 0.7303 GB, free: 37.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.4491, allocations: 17.69 kB / 0.7304 GB, free: 37.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.4493, allocations: 44.27 kB / 0.7304 GB, free: 37.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.4495, allocations: 77.22 kB / 0.7305 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.4495, allocations: 33.56 kB / 0.7305 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003015/0.4498, allocations: 411.4 kB / 0.7309 GB, free: 37.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4498, allocations: 0 / 0.7309 GB, free: 37.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007556/0.4506, allocations: 353 kB / 0.7312 GB, free: 37.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.001496/0.4521, allocations: 0.6275 MB / 0.7319 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.4532, allocations: 0.6593 MB / 0.7325 GB, free: 36.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4532, allocations: 0 / 0.7325 GB, free: 36.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.4536, allocations: 487 kB / 0.733 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.4544, allocations: 332.1 kB / 0.7333 GB, free: 36.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.4572, allocations: 1.678 MB / 0.7349 GB, free: 35.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.4573, allocations: 200.6 kB / 0.7351 GB, free: 35.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006207/0.458, allocations: 253.3 kB / 0.7353 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4582, allocations: 114.7 kB / 0.7355 GB, free: 35.08 MB / 0.5573 GB Notification: Performance of SimCode: time 2.305e-06/0.4582, allocations: 3.938 kB / 0.7355 GB, free: 35.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.01954/0.4777, allocations: 15.66 MB / 0.7508 GB, free: 27.09 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.84599891025573]