Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001263/0.001263, allocations: 198.5 kB / 16.14 MB, free: 6.695 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.67 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2704, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006392/0.2768, allocations: 4.936 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1485/0.4254, allocations: 148.3 MB / 1.217 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.4263, allocations: 19.88 kB / 1.217 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.4271, allocations: 158.8 kB / 1.217 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.4288, allocations: 469.4 kB / 1.218 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4307, allocations: 0.7134 MB / 1.218 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.4323, allocations: 1.284 MB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009428/0.4332, allocations: 0.5517 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.434, allocations: 414.3 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.4347, allocations: 477.8 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.4349, allocations: 56 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009211/0.4359, allocations: 395.6 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.4362, allocations: 231 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.4368, allocations: 0.4972 MB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.4386, allocations: 1.523 MB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4386, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4386, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.574e-05/0.4387, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002747/0.4414, allocations: 1.432 MB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4415, allocations: 12.02 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009599/0.4424, allocations: 179.4 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4435, allocations: 0.7343 MB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.4435, allocations: 70 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.4436, allocations: 80 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.4452, allocations: 0.9153 MB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4452, allocations: 0 / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/0.4453, allocations: 36 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4453, allocations: 20 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.447, allocations: 1.096 MB / 1.228 GB, free: 5.656 MB / 0.9825 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.003924/0.451, allocations: 2.767 MB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4524, allocations: 0.7896 MB / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.453, allocations: 298.6 kB / 1.232 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.453, allocations: 40.59 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009338/0.454, allocations: 479.1 kB / 1.232 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.454, allocations: 0 / 1.232 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003168/0.4572, allocations: 1.178 MB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.4573, allocations: 192.6 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.4581, allocations: 0.6409 MB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.4582, allocations: 41.7 kB / 1.234 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.4585, allocations: 396.4 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.4587, allocations: 252.4 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4589, allocations: 158.5 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4591, allocations: 394.6 kB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.4596, allocations: 261.8 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.4602, allocations: 371.9 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.4613, allocations: 0.6042 MB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4613, allocations: 0 / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00202/0.4633, allocations: 0.8448 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4634, allocations: 7.938 kB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4634, allocations: 0 / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.464, allocations: 84.91 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.4647, allocations: 163.7 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.4667, allocations: 1.516 MB / 1.239 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.4675, allocations: 99.22 kB / 1.239 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.4676, allocations: 31.98 kB / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004533/0.4681, allocations: 274.5 kB / 1.24 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4682, allocations: 83 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.4706, allocations: 1.046 MB / 1.241 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4706, allocations: 8 kB / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4706, allocations: 0 / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4706, allocations: 7.969 kB / 1.241 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4717, allocations: 0.8801 MB / 1.242 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4717, allocations: 0 / 1.242 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.4723, allocations: 139.8 kB / 1.242 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005601/0.4729, allocations: 84.77 kB / 1.242 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.4729, allocations: 23.98 kB / 1.242 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.4749, allocations: 1.555 MB / 1.243 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4749, allocations: 3.938 kB / 1.243 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.4771, allocations: 0.9123 MB / 1.244 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.4775, allocations: 271.7 kB / 1.245 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4777, allocations: 23.98 kB / 1.245 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/0.4784, allocations: 65.91 kB / 1.245 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.4786, allocations: 68.89 kB / 1.245 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.4787, allocations: 35.92 kB / 1.245 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006571/0.4793, allocations: 459 kB / 1.245 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4793, allocations: 0 / 1.245 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001027/0.4804, allocations: 323.2 kB / 1.246 GB, free: 3.184 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001488/0.4819, allocations: 0.593 MB / 1.246 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.4838, allocations: 0.8197 MB / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4838, allocations: 0 / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4849, allocations: 0.5003 MB / 1.247 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4863, allocations: 281.4 kB / 1.248 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4516/0.9379, allocations: 2.075 MB / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.9386, allocations: 1.019 MB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001012/0.9396, allocations: 265.1 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.9399, allocations: 103.9 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.9399, allocations: 0 / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02723/0.9671, allocations: 14.36 MB / 1.265 GB, free: 181.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)