Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0007857/0.0007857, allocations: 95.45 kB / 15.37 MB, free: 0.7266 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.0008642/0.0008642, allocations: 175.1 kB / 16.27 MB, free: 6.66 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003715, allocations: 9.312 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3594, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1772/0.5367, allocations: 161.6 MB / 1.232 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.549, allocations: 7.723 MB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.5507, allocations: 27.88 kB / 1.24 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5517, allocations: 337.9 kB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.5553, allocations: 1.173 MB / 1.241 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.5583, allocations: 1.025 MB / 1.242 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.5614, allocations: 2.554 MB / 1.244 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.563, allocations: 0.9823 MB / 1.245 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.5641, allocations: 0.6182 MB / 1.246 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.5655, allocations: 0.6763 MB / 1.247 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.5656, allocations: 40 kB / 1.247 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.5679, allocations: 1.103 MB / 1.248 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.5682, allocations: 294.8 kB / 1.248 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.5688, allocations: 0.6658 MB / 1.249 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.5715, allocations: 2.274 MB / 1.251 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5715, allocations: 0 / 1.251 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5715, allocations: 0 / 1.251 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5716, allocations: 0 / 1.251 GB, free: 1.809 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.003478/0.5751, allocations: 1.599 MB / 1.253 GB, free: 152 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5751, allocations: 8.031 kB / 1.253 GB, free: 144 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.734/1.309, allocations: 340.1 kB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/1.312, allocations: 0.9757 MB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.312, allocations: 85.98 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/1.312, allocations: 107.8 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/1.315, allocations: 1.18 MB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/1.315, allocations: 4.531 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.315, allocations: 51.25 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/1.315, allocations: 38.16 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/1.318, allocations: 1.314 MB / 1.257 GB, free: 182.3 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.006934/1.325, allocations: 3.868 MB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/1.327, allocations: 1.005 MB / 1.261 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/1.328, allocations: 403.1 kB / 1.262 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.363e-05/1.328, allocations: 30.47 kB / 1.262 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.329, allocations: 0.5936 MB / 1.262 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.865e-06/1.329, allocations: 0 / 1.262 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003797/1.333, allocations: 1.456 MB / 1.264 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.333, allocations: 193.2 kB / 1.264 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.334, allocations: 0.8417 MB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.335, allocations: 46.05 kB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/1.335, allocations: 0.5226 MB / 1.265 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/1.335, allocations: 339.3 kB / 1.266 GB, free: 178 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.336, allocations: 90.28 kB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.336, allocations: 342.3 kB / 1.266 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/1.336, allocations: 343.3 kB / 1.266 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/1.337, allocations: 479.5 kB / 1.267 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/1.338, allocations: 0.8086 MB / 1.268 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.338, allocations: 0 / 1.268 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002561/1.341, allocations: 1.086 MB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.341, allocations: 7.109 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.341, allocations: 2.594 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.342, allocations: 87.16 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/1.343, allocations: 217.4 kB / 1.269 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.345, allocations: 1.537 MB / 1.27 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.346, allocations: 132.4 kB / 1.271 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/1.346, allocations: 46.3 kB / 1.271 GB, free: 174.9 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.0007836/1.347, allocations: 317.2 kB / 1.271 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/1.347, allocations: 121.5 kB / 1.271 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/1.35, allocations: 1.254 MB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.35, allocations: 10.44 kB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.35, allocations: 0.6562 kB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.35, allocations: 10.23 kB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.352, allocations: 1.159 MB / 1.273 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.353, allocations: 6.047 kB / 1.273 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.354, allocations: 209.6 kB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/1.354, allocations: 85.33 kB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.354, allocations: 34.88 kB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.356, allocations: 1.543 MB / 1.275 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.356, allocations: 1.25 kB / 1.275 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/1.36, allocations: 1.583 MB / 1.277 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/1.361, allocations: 337.7 kB / 1.277 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.361, allocations: 23.23 kB / 1.277 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009597/1.362, allocations: 104 kB / 1.277 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/1.362, allocations: 86.25 kB / 1.277 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.362, allocations: 46.52 kB / 1.277 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001126/1.363, allocations: 0.5794 MB / 1.278 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.132e-06/1.363, allocations: 0 / 1.278 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001511/1.365, allocations: 437.2 kB / 1.278 GB, free: 170.7 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.00163/1.366, allocations: 0.6178 MB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002226/1.369, allocations: 1.005 MB / 1.28 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.369, allocations: 5.125 kB / 1.28 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/1.37, allocations: 0.6005 MB / 1.28 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.372, allocations: 449.7 kB / 1.281 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006472/1.379, allocations: 3.124 MB / 1.284 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009305/1.38, allocations: 1.158 MB / 1.285 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001482/1.381, allocations: 326.2 kB / 1.285 GB, free: 167 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/1.382, allocations: 124.6 kB / 1.286 GB, free: 167 MB / 0.9981 GB Notification: Performance of SimCode: time 1.253e-06/1.382, allocations: 0 / 1.286 GB, free: 167 MB / 0.9981 GB Notification: Performance of Templates: time 0.04411/1.426, allocations: 19.83 MB / 1.305 GB, free: 158.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)