Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 62.75 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007247/0.3376, allocations: 5.128 MB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.5026, allocations: 148.4 MB / 1.218 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.504, allocations: 15.94 kB / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5051, allocations: 150.8 kB / 1.218 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.5078, allocations: 0.5011 MB / 1.218 GB, free: 4 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.5106, allocations: 0.7393 MB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.5128, allocations: 1.42 MB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5138, allocations: 0.5991 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.5147, allocations: 498.3 kB / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.5154, allocations: 0.5134 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.5156, allocations: 120 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5168, allocations: 463.6 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.5172, allocations: 299.1 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008661/0.5181, allocations: 0.5791 MB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.5202, allocations: 1.62 MB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5203, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5203, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.555e-05/0.5203, allocations: 0 / 1.225 GB, free: 9.145 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003163/0.5235, allocations: 1.454 MB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.5236, allocations: 12.03 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.5247, allocations: 191.3 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5261, allocations: 0.7586 MB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.5262, allocations: 62 kB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.5264, allocations: 87.94 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.5283, allocations: 0.9417 MB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.5284, allocations: 0 / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.5285, allocations: 36 kB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.5285, allocations: 24 kB / 1.228 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.5304, allocations: 1.12 MB / 1.23 GB, free: 4.332 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.004711/0.5352, allocations: 2.763 MB / 1.232 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.5369, allocations: 0.8121 MB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.5375, allocations: 318.7 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-05/0.5376, allocations: 24.62 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.5386, allocations: 0.4915 MB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.5387, allocations: 0 / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003245/0.5419, allocations: 1.203 MB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.542, allocations: 200.5 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009267/0.543, allocations: 0.6409 MB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.543, allocations: 41.7 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.5434, allocations: 404.4 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.5436, allocations: 272.1 kB / 1.236 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.5439, allocations: 162.5 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5441, allocations: 386.8 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.5446, allocations: 273.8 kB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.5453, allocations: 379 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.5464, allocations: 0.6034 MB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5465, allocations: 0 / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002055/0.5485, allocations: 0.8681 MB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5485, allocations: 9.5 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5486, allocations: 0 / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.5492, allocations: 84.77 kB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5499, allocations: 175.7 kB / 1.239 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.5521, allocations: 1.637 MB / 1.241 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.5529, allocations: 87.33 kB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.553, allocations: 47.97 kB / 1.241 GB, free: 8.066 MB / 0.9981 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 (97): * Single equations (assignments): 96 * 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.0004239/0.5535, allocations: 275.9 kB / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.5537, allocations: 86.95 kB / 1.241 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.5561, allocations: 1.07 MB / 1.242 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5562, allocations: 8 kB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5562, allocations: 4 kB / 1.242 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5562, allocations: 3.984 kB / 1.242 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5573, allocations: 0.8996 MB / 1.243 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5573, allocations: 0 / 1.243 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.558, allocations: 155.8 kB / 1.243 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.5584, allocations: 72.72 kB / 1.244 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.5585, allocations: 23.98 kB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.5605, allocations: 1.662 MB / 1.245 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5605, allocations: 8.047 kB / 1.245 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.5632, allocations: 1.34 MB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.5636, allocations: 271.7 kB / 1.247 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.5638, allocations: 19.94 kB / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.5644, allocations: 71.98 kB / 1.247 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.5646, allocations: 72.89 kB / 1.247 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.5647, allocations: 31.98 kB / 1.247 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005854/0.5653, allocations: 463 kB / 1.247 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5653, allocations: 3.938 kB / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000927/0.5662, allocations: 339.2 kB / 1.248 GB, free: 0.957 MB / 0.9981 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 (93): * Single equations (assignments): 87 * 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.001557/0.5678, allocations: 0.5999 MB / 1.248 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.6082/1.176, allocations: 1.035 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.176, allocations: 0.75 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/1.177, allocations: 0.5166 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.179, allocations: 303.6 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/1.183, allocations: 2.216 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/1.183, allocations: 1.034 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001065/1.184, allocations: 261.8 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/1.185, allocations: 104.8 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.185, allocations: 0 / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03798/1.223, allocations: 15.15 MB / 1.268 GB, free: 179.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)