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.001271/0.001271, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001044/0.001044, allocations: 173 kB / 23.49 MB, free: 1.062 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.9784/0.9784, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001706/0.001706, allocations: 231.5 kB / 260.5 MB, free: 12.9 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.8698/0.8698, allocations: 138.4 MB / 455.4 MB, free: 1.539 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 2.384e-06/2.384e-06, allocations: 0 / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.55e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005228/0.005264, allocations: 5.094 MB / 0.56 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3705/0.3758, allocations: 146.4 MB / 0.7029 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/0.3767, allocations: 23.81 kB / 0.7029 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.3772, allocations: 207.9 kB / 0.7031 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3785, allocations: 0.5926 MB / 0.7037 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3798, allocations: 0.8726 MB / 0.7046 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.3808, allocations: 1.509 MB / 0.706 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.3813, allocations: 410.8 kB / 0.7064 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.382, allocations: 0.764 MB / 0.7072 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.3824, allocations: 422.8 kB / 0.7076 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3825, allocations: 124 kB / 0.7077 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.3831, allocations: 0.4898 MB / 0.7082 GB, free: 128 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.3834, allocations: 319 kB / 0.7085 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.3837, allocations: 407 kB / 0.7089 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.3851, allocations: 1.296 MB / 0.7101 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3851, allocations: 4 kB / 0.7101 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3851, allocations: 0 / 0.7101 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.3851, allocations: 0 / 0.7101 GB, free: 14.11 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.001831/0.3869, allocations: 1.557 MB / 0.7117 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.387, allocations: 16.73 kB / 0.7117 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/0.3879, allocations: 327.6 kB / 0.712 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.3887, allocations: 0.7402 MB / 0.7127 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.3888, allocations: 66.56 kB / 0.7128 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.3889, allocations: 91.94 kB / 0.7129 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3899, allocations: 1.025 MB / 0.7139 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3899, allocations: 0 / 0.7139 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.39, allocations: 36 kB / 0.7139 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.39, allocations: 24 kB / 0.7139 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.3909, allocations: 0.8075 MB / 0.7147 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.3934, allocations: 2.284 MB / 0.7169 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/0.3942, allocations: 0.5154 MB / 0.7174 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.3945, allocations: 186.5 kB / 0.7176 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.3945, allocations: 32.62 kB / 0.7177 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.395, allocations: 490.5 kB / 0.7181 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.395, allocations: 0 / 0.7181 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001639/0.3966, allocations: 0.8463 MB / 0.7189 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.3967, allocations: 192.9 kB / 0.7191 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.3972, allocations: 0.601 MB / 0.7197 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.3973, allocations: 45.69 kB / 0.7198 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.3975, allocations: 471.8 kB / 0.7202 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3977, allocations: 289.5 kB / 0.7205 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.3979, allocations: 180.2 kB / 0.7207 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3981, allocations: 0.5664 MB / 0.7212 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3983, allocations: 133.3 kB / 0.7213 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.3987, allocations: 381.8 kB / 0.7217 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.3993, allocations: 386.6 kB / 0.7221 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3993, allocations: 4 kB / 0.7221 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001016/0.4003, allocations: 0.6528 MB / 0.7227 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4003, allocations: 4 kB / 0.7227 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4003, allocations: 0 / 0.7227 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.4008, allocations: 131.7 kB / 0.7228 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.4011, allocations: 175.6 kB / 0.723 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.4026, allocations: 1.898 MB / 0.7249 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.4029, allocations: 75.53 kB / 0.7249 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.403, allocations: 39.97 kB / 0.725 GB, free: 14.31 MB / 0.5417 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.0002178/0.4032, allocations: 214.4 kB / 0.7252 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.4033, allocations: 115.4 kB / 0.7253 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.4046, allocations: 0.8391 MB / 0.7261 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4046, allocations: 8 kB / 0.7261 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4046, allocations: 4.609 kB / 0.7261 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.4046, allocations: 7.984 kB / 0.7261 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.4052, allocations: 0.6196 MB / 0.7267 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4052, allocations: 0 / 0.7267 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.4055, allocations: 158.9 kB / 0.7269 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/0.4061, allocations: 111.6 kB / 0.727 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.4062, allocations: 23.98 kB / 0.727 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.4073, allocations: 1.929 MB / 0.7289 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4073, allocations: 3.984 kB / 0.7289 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.4087, allocations: 0.9283 MB / 0.7298 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.409, allocations: 199.1 kB / 0.73 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.4091, allocations: 28.05 kB / 0.73 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.4093, allocations: 43.97 kB / 0.7301 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4095, allocations: 72.86 kB / 0.7301 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.4095, allocations: 38.47 kB / 0.7302 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003842/0.4099, allocations: 411 kB / 0.7306 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.4099, allocations: 0 / 0.7306 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008494/0.4108, allocations: 347.1 kB / 0.7309 GB, free: 8.043 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.001578/0.4123, allocations: 0.6307 MB / 0.7315 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.4134, allocations: 0.6593 MB / 0.7322 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4134, allocations: 4 kB / 0.7322 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.414, allocations: 484.9 kB / 0.7326 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.415, allocations: 329.5 kB / 0.7329 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.4185, allocations: 1.684 MB / 0.7346 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4186, allocations: 203.6 kB / 0.7348 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006363/0.4193, allocations: 254.8 kB / 0.735 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.4195, allocations: 112.4 kB / 0.7351 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/0.4195, allocations: 0 / 0.7351 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of Templates: time 0.02318/0.4427, allocations: 15.65 MB / 0.7504 GB, free: 4.508 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.722979394020513]