Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0009754/0.0009754, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0009691/0.0009691, allocations: 173 kB / 24.06 MB, free: 452 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.9865/0.9865, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.001674/0.001674, allocations: 238.2 kB / 261.3 MB, free: 12.64 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.7876/0.7876, allocations: 138.4 MB / 456.3 MB, free: 30.04 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.724e-05, allocations: 3.297 kB / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005318/0.005345, allocations: 4.9 MB / 0.5611 GB, free: 10.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3581/0.3635, allocations: 143.9 MB / 0.7016 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.3644, allocations: 20.62 kB / 0.7016 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.3649, allocations: 205.3 kB / 0.7018 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.3663, allocations: 0.605 MB / 0.7024 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.3678, allocations: 0.8652 MB / 0.7032 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.369, allocations: 1.484 MB / 0.7047 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000593/0.3696, allocations: 407 kB / 0.7051 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3708, allocations: 0.7765 MB / 0.7058 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.3713, allocations: 382.2 kB / 0.7062 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.3715, allocations: 108.5 kB / 0.7063 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008978/0.3724, allocations: 492.7 kB / 0.7068 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.3726, allocations: 296.5 kB / 0.7071 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.373, allocations: 385.6 kB / 0.7074 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.3744, allocations: 1.247 MB / 0.7086 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3744, allocations: 1.375 kB / 0.7086 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3744, allocations: 0 / 0.7086 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.3744, allocations: 0 / 0.7086 GB, free: 50.62 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001713/0.3762, allocations: 1.535 MB / 0.7101 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3762, allocations: 11.53 kB / 0.7102 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008513/0.377, allocations: 325.6 kB / 0.7105 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.3778, allocations: 0.7131 MB / 0.7112 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.3778, allocations: 65.16 kB / 0.7112 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-05/0.3779, allocations: 94.36 kB / 0.7113 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007635/0.3787, allocations: 0.8797 MB / 0.7122 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3787, allocations: 0 / 0.7122 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.3787, allocations: 40.19 kB / 0.7122 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3788, allocations: 22.16 kB / 0.7122 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.3795, allocations: 0.693 MB / 0.7129 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3815, allocations: 2.11 MB / 0.715 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.382, allocations: 432 kB / 0.7154 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.3821, allocations: 151 kB / 0.7155 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.3822, allocations: 33.09 kB / 0.7156 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.3825, allocations: 454.6 kB / 0.716 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 2.004e-06/0.3825, allocations: 0 / 0.716 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.001238/0.3837, allocations: 0.7339 MB / 0.7167 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3838, allocations: 197.6 kB / 0.7169 GB, free: 46.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.3841, allocations: 0.5594 MB / 0.7174 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.3842, allocations: 42.3 kB / 0.7175 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3843, allocations: 471.1 kB / 0.7179 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3845, allocations: 285.1 kB / 0.7182 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3846, allocations: 177.1 kB / 0.7184 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.3847, allocations: 0.5634 MB / 0.7189 GB, free: 44.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3848, allocations: 103.5 kB / 0.719 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.385, allocations: 340.1 kB / 0.7193 GB, free: 44.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.3853, allocations: 330.4 kB / 0.7197 GB, free: 44.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3853, allocations: 0 / 0.7197 GB, free: 44.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007254/0.3861, allocations: 0.5813 MB / 0.7202 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3861, allocations: 2.594 kB / 0.7202 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3861, allocations: 3.031 kB / 0.7202 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.3865, allocations: 123.4 kB / 0.7204 GB, free: 44.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3868, allocations: 176.4 kB / 0.7205 GB, free: 44.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009281/0.3878, allocations: 1.867 MB / 0.7223 GB, free: 42.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.388, allocations: 72.25 kB / 0.7224 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.3881, allocations: 25.48 kB / 0.7224 GB, free: 42.53 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.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 (97): * Single equations (assignments): 96 * 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.0001657/0.3882, allocations: 210 kB / 0.7226 GB, free: 42.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3883, allocations: 122.7 kB / 0.7228 GB, free: 42.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.3893, allocations: 0.7663 MB / 0.7235 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3893, allocations: 10.72 kB / 0.7235 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.3893, allocations: 0 / 0.7235 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3893, allocations: 4.547 kB / 0.7235 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.3897, allocations: 494.1 kB / 0.724 GB, free: 41.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3897, allocations: 2.781 kB / 0.724 GB, free: 41.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.39, allocations: 150.6 kB / 0.7241 GB, free: 41.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.3903, allocations: 113.9 kB / 0.7242 GB, free: 41.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.3904, allocations: 24.98 kB / 0.7243 GB, free: 41.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007802/0.3911, allocations: 1.888 MB / 0.7261 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3911, allocations: 4.031 kB / 0.7261 GB, free: 39.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.3921, allocations: 0.8093 MB / 0.7269 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.3923, allocations: 190.3 kB / 0.7271 GB, free: 39.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.3923, allocations: 25.61 kB / 0.7271 GB, free: 39.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3925, allocations: 42.22 kB / 0.7272 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.3926, allocations: 69.56 kB / 0.7272 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.3927, allocations: 34.39 kB / 0.7272 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002102/0.3929, allocations: 367.6 kB / 0.7276 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.3929, allocations: 0 / 0.7276 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005265/0.3934, allocations: 343.3 kB / 0.7279 GB, free: 39.28 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 (93): * Single equations (assignments): 87 * 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.001153/0.3946, allocations: 0.6187 MB / 0.7285 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006362/0.3952, allocations: 0.5948 MB / 0.7291 GB, free: 38.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3952, allocations: 0 / 0.7291 GB, free: 38.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.3955, allocations: 442.6 kB / 0.7295 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.3962, allocations: 328.2 kB / 0.7298 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3981, allocations: 1.591 MB / 0.7314 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3982, allocations: 196.9 kB / 0.7316 GB, free: 37.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.3986, allocations: 196.2 kB / 0.7318 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.3991, allocations: 371.6 kB / 0.7321 GB, free: 37.43 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.3991, allocations: 3.938 kB / 0.7321 GB, free: 37.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.01921/0.4183, allocations: 16.75 MB / 0.7485 GB, free: 28.85 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.667504863347858]