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.001505/0.001505, allocations: 77.09 kB / 20.66 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.001927/0.001927, allocations: 169 kB / 24.06 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.9708/0.9708, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.002803/0.002803, allocations: 241.7 kB / 261.3 MB, free: 12.66 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.7765/0.7765, allocations: 138.4 MB / 456.3 MB, free: 1.43 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.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.342e-06/1.342e-06, allocations: 3.938 kB / 0.5564 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.505e-05, allocations: 2.312 kB / 0.5564 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005269/0.005294, allocations: 5.007 MB / 0.5612 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.347/0.3523, allocations: 143.9 MB / 0.7018 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007559/0.3531, allocations: 23.81 kB / 0.7018 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.3536, allocations: 209.2 kB / 0.702 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.3548, allocations: 0.6069 MB / 0.7026 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3562, allocations: 0.8734 MB / 0.7034 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009013/0.3571, allocations: 1.501 MB / 0.7049 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005234/0.3576, allocations: 418.7 kB / 0.7053 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007228/0.3583, allocations: 0.7913 MB / 0.7061 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.3587, allocations: 386.8 kB / 0.7064 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3589, allocations: 116 kB / 0.7065 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006805/0.3596, allocations: 496.6 kB / 0.707 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3597, allocations: 298.9 kB / 0.7073 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3599, allocations: 391 kB / 0.7077 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3612, allocations: 1.273 MB / 0.7089 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3612, allocations: 0 / 0.7089 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3612, allocations: 0 / 0.7089 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.3612, allocations: 0 / 0.7089 GB, free: 15.88 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001737/0.3629, allocations: 1.568 MB / 0.7104 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.363, allocations: 8.75 kB / 0.7105 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/0.3638, allocations: 331.6 kB / 0.7108 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.3645, allocations: 0.7149 MB / 0.7115 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.3645, allocations: 66.56 kB / 0.7115 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.3646, allocations: 91.94 kB / 0.7116 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.3654, allocations: 0.8929 MB / 0.7125 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.3654, allocations: 0 / 0.7125 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.3654, allocations: 40 kB / 0.7125 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3654, allocations: 24 kB / 0.7126 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.3661, allocations: 0.6962 MB / 0.7132 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.3683, allocations: 2.141 MB / 0.7153 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.3689, allocations: 471.5 kB / 0.7158 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3691, allocations: 158.2 kB / 0.7159 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.3691, allocations: 32.62 kB / 0.716 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.3696, allocations: 469.5 kB / 0.7164 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.013e-06/0.3696, allocations: 0 / 0.7164 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001356/0.3709, allocations: 0.7571 MB / 0.7171 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.371, allocations: 192.9 kB / 0.7173 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3714, allocations: 0.5773 MB / 0.7179 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.3714, allocations: 41.7 kB / 0.7179 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.3717, allocations: 483.6 kB / 0.7184 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.3718, allocations: 285.5 kB / 0.7187 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.372, allocations: 184.1 kB / 0.7188 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3722, allocations: 0.5701 MB / 0.7194 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3723, allocations: 105.9 kB / 0.7195 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.3726, allocations: 341.7 kB / 0.7198 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.3729, allocations: 334.5 kB / 0.7201 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3729, allocations: 0 / 0.7201 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007938/0.3737, allocations: 0.5943 MB / 0.7207 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3737, allocations: 11.98 kB / 0.7207 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3737, allocations: 0 / 0.7207 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.3742, allocations: 127.6 kB / 0.7209 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.3745, allocations: 175.7 kB / 0.721 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.3758, allocations: 1.867 MB / 0.7228 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.3761, allocations: 71.59 kB / 0.7229 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.3761, allocations: 32.47 kB / 0.7229 GB, free: 0.9375 MB / 0.5261 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 (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.0002061/0.3763, allocations: 218.4 kB / 0.7232 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3764, allocations: 115.4 kB / 0.7233 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3774, allocations: 0.7729 MB / 0.724 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3775, allocations: 15.94 kB / 0.724 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3775, allocations: 6.375 kB / 0.724 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.3775, allocations: 3.984 kB / 0.724 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.378, allocations: 0.5029 MB / 0.7245 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.378, allocations: 0 / 0.7245 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.3783, allocations: 155.8 kB / 0.7247 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.3786, allocations: 111.6 kB / 0.7248 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.3787, allocations: 27.98 kB / 0.7248 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3797, allocations: 1.884 MB / 0.7267 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3797, allocations: 0 / 0.7267 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3807, allocations: 0.8267 MB / 0.7275 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.3809, allocations: 210.5 kB / 0.7277 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.381, allocations: 23.92 kB / 0.7277 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.3812, allocations: 39.97 kB / 0.7277 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/0.3813, allocations: 72.86 kB / 0.7278 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.3813, allocations: 23.98 kB / 0.7278 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000232/0.3816, allocations: 378.8 kB / 0.7282 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3816, allocations: 0 / 0.7282 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006263/0.3822, allocations: 335.1 kB / 0.7285 GB, free: 11.06 MB / 0.5417 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.001211/0.3834, allocations: 0.6247 MB / 0.7291 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006897/0.3841, allocations: 0.6007 MB / 0.7297 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3841, allocations: 4 kB / 0.7297 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.3845, allocations: 452.9 kB / 0.7301 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.3852, allocations: 323.6 kB / 0.7304 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3874, allocations: 1.658 MB / 0.7321 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3875, allocations: 199.7 kB / 0.7323 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.3879, allocations: 197 kB / 0.7324 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.3884, allocations: 369.9 kB / 0.7328 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/0.3885, allocations: 0 / 0.7328 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of Templates: time 0.02312/0.4116, allocations: 16.95 MB / 0.7493 GB, free: 6.188 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.817946824710816]