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.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00121/0.00121, allocations: 199.8 kB / 16.14 MB, free: 6.793 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.67 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3706, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1875/0.5581, allocations: 163.8 MB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.5728, allocations: 7.826 MB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.5744, allocations: 27.88 kB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.5758, allocations: 337.9 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.5797, allocations: 1.182 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.5827, allocations: 1.027 MB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.5861, allocations: 2.557 MB / 1.24 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.5881, allocations: 1.072 MB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.5895, allocations: 0.6963 MB / 1.242 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.5913, allocations: 0.7657 MB / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.5917, allocations: 72 kB / 1.243 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.5947, allocations: 1.138 MB / 1.244 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007521/0.5955, allocations: 350.7 kB / 1.244 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.5968, allocations: 0.707 MB / 1.245 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.6009, allocations: 2.337 MB / 1.247 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6009, allocations: 0 / 1.247 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6009, allocations: 4 kB / 1.247 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.335e-05/0.601, allocations: 0 / 1.247 GB, free: 2.395 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.004641/0.6057, allocations: 1.871 MB / 1.249 GB, free: 472 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.6058, allocations: 19.97 kB / 1.249 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.6078, allocations: 329.8 kB / 1.249 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.664/1.272, allocations: 0.9659 MB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.272, allocations: 83.78 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/1.272, allocations: 108.5 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.275, allocations: 1.182 MB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.275, allocations: 2.812 kB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.275, allocations: 44.7 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/1.275, allocations: 43.31 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/1.278, allocations: 1.305 MB / 1.253 GB, free: 184.5 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.005408/1.283, allocations: 3.835 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/1.285, allocations: 0.9877 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/1.286, allocations: 396.4 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/1.286, allocations: 37.69 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/1.287, allocations: 0.5848 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 4.028e-06/1.287, allocations: 6.562 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003588/1.29, allocations: 1.441 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/1.29, allocations: 195.2 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.291, allocations: 0.8387 MB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/1.292, allocations: 46.95 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/1.292, allocations: 0.5231 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/1.292, allocations: 342.1 kB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/1.292, allocations: 199.8 kB / 1.262 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/1.292, allocations: 346.8 kB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/1.293, allocations: 333.7 kB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/1.294, allocations: 476.7 kB / 1.263 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.295, allocations: 0.7994 MB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.295, allocations: 6.188 kB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002299/1.297, allocations: 1.074 MB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.297, allocations: 3.594 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.297, allocations: 2.688 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/1.298, allocations: 85.52 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/1.299, allocations: 218.5 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/1.301, allocations: 1.534 MB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.302, allocations: 124.7 kB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/1.302, allocations: 41.91 kB / 1.267 GB, free: 177.6 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.0004732/1.303, allocations: 319.7 kB / 1.267 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/1.303, allocations: 111.2 kB / 1.267 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/1.306, allocations: 1.251 MB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.306, allocations: 11.91 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.306, allocations: 1.062 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/1.306, allocations: 12.02 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.307, allocations: 1.158 MB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.307, allocations: 0.5156 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/1.308, allocations: 209.2 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/1.309, allocations: 87.09 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.799e-05/1.309, allocations: 31.25 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/1.311, allocations: 1.545 MB / 1.272 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.311, allocations: 2 kB / 1.272 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.314, allocations: 1.575 MB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/1.315, allocations: 322.1 kB / 1.273 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/1.315, allocations: 24.16 kB / 1.273 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/1.316, allocations: 78.02 kB / 1.273 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.316, allocations: 82.84 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.316, allocations: 42.31 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001127/1.317, allocations: 0.5826 MB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.317, allocations: 0.5312 kB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001285/1.318, allocations: 435.1 kB / 1.275 GB, free: 173.4 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.001455/1.32, allocations: 0.6191 MB / 1.275 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002041/1.322, allocations: 0.9932 MB / 1.276 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.322, allocations: 5.031 kB / 1.276 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.323, allocations: 0.5973 MB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/1.325, allocations: 456.5 kB / 1.277 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/1.329, allocations: 3.005 MB / 1.28 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/1.33, allocations: 1.156 MB / 1.281 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001201/1.331, allocations: 321.4 kB / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.332, allocations: 123.5 kB / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/1.332, allocations: 0 / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03282/1.365, allocations: 19.95 MB / 1.301 GB, free: 161.2 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)