Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.0009112, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006385/0.006385, allocations: 174.1 kB / 16.26 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003994, allocations: 11.5 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1813/0.5475, allocations: 161.6 MB / 1.232 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.5599, allocations: 7.726 MB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.5614, allocations: 39.75 kB / 1.24 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.5624, allocations: 325.9 kB / 1.24 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.5658, allocations: 1.174 MB / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.5684, allocations: 1.027 MB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.5711, allocations: 2.547 MB / 1.244 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.5725, allocations: 0.9862 MB / 1.245 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009601/0.5734, allocations: 0.626 MB / 1.246 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.5746, allocations: 0.6622 MB / 1.247 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.5747, allocations: 36 kB / 1.247 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.5768, allocations: 1.107 MB / 1.248 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.5771, allocations: 298.7 kB / 1.248 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.5777, allocations: 0.6619 MB / 1.249 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.5803, allocations: 2.278 MB / 1.251 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5803, allocations: 7.938 kB / 1.251 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5803, allocations: 3.938 kB / 1.251 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.5803, allocations: 0 / 1.251 GB, free: 1.785 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002903/0.5833, allocations: 1.593 MB / 1.253 GB, free: 136 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5833, allocations: 12.03 kB / 1.253 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7092/1.292, allocations: 328 kB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/1.295, allocations: 0.9816 MB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.295, allocations: 81.34 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/1.295, allocations: 109.3 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/1.298, allocations: 1.177 MB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/1.298, allocations: 1.031 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/1.298, allocations: 50.36 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/1.298, allocations: 39.56 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/1.301, allocations: 1.322 MB / 1.257 GB, free: 182 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/1.307, allocations: 3.865 MB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/1.309, allocations: 1 MB / 1.261 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/1.31, allocations: 410.5 kB / 1.262 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/1.31, allocations: 33.34 kB / 1.262 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/1.311, allocations: 0.5832 MB / 1.262 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.775e-06/1.311, allocations: 2.906 kB / 1.262 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003816/1.315, allocations: 1.455 MB / 1.264 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/1.315, allocations: 192.2 kB / 1.264 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.316, allocations: 0.8439 MB / 1.265 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.316, allocations: 48.19 kB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/1.317, allocations: 0.5215 MB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/1.317, allocations: 342 kB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.317, allocations: 85.7 kB / 1.266 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.317, allocations: 347.3 kB / 1.266 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/1.318, allocations: 340.9 kB / 1.266 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/1.319, allocations: 482.4 kB / 1.267 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/1.32, allocations: 0.8081 MB / 1.268 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.32, allocations: 0 / 1.268 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002372/1.322, allocations: 1.087 MB / 1.269 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.322, allocations: 6.562 kB / 1.269 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.322, allocations: 5.781 kB / 1.269 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/1.323, allocations: 83.94 kB / 1.269 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.324, allocations: 225.2 kB / 1.269 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.326, allocations: 1.526 MB / 1.27 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.328, allocations: 134 kB / 1.271 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/1.328, allocations: 48.95 kB / 1.271 GB, free: 174.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006677/1.328, allocations: 327.9 kB / 1.271 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/1.329, allocations: 111.4 kB / 1.271 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/1.332, allocations: 1.256 MB / 1.272 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.332, allocations: 12.19 kB / 1.272 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.332, allocations: 4.562 kB / 1.272 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.332, allocations: 5.344 kB / 1.272 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/1.334, allocations: 1.159 MB / 1.273 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.334, allocations: 3.938 kB / 1.273 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/1.335, allocations: 210.1 kB / 1.274 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005743/1.335, allocations: 87.62 kB / 1.274 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/1.335, allocations: 31.84 kB / 1.274 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/1.337, allocations: 1.54 MB / 1.275 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.337, allocations: 2.938 kB / 1.275 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/1.341, allocations: 1.584 MB / 1.277 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/1.341, allocations: 340.6 kB / 1.277 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.342, allocations: 23.8 kB / 1.277 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/1.343, allocations: 101 kB / 1.277 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/1.343, allocations: 88.7 kB / 1.277 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.343, allocations: 41.59 kB / 1.277 GB, free: 171 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001009/1.344, allocations: 0.5827 MB / 1.278 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.344, allocations: 1.312 kB / 1.278 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00136/1.345, allocations: 435.1 kB / 1.278 GB, free: 170.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.001494/1.347, allocations: 0.6245 MB / 1.279 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.349, allocations: 1.006 MB / 1.28 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.349, allocations: 1.156 kB / 1.28 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.35, allocations: 0.6005 MB / 1.28 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.352, allocations: 451 kB / 1.281 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/1.357, allocations: 3.127 MB / 1.284 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008218/1.358, allocations: 1.157 MB / 1.285 GB, free: 167 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001304/1.359, allocations: 318.2 kB / 1.285 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.359, allocations: 124.5 kB / 1.286 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/1.359, allocations: 3.938 kB / 1.286 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04238/1.402, allocations: 19.83 MB / 1.305 GB, free: 158.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)