Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001478/0.001478, 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.001827/0.001827, allocations: 197.1 kB / 16.14 MB, free: 6.688 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.47 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.34, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.008974/0.3491, allocations: 4.946 MB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.5181, allocations: 148.3 MB / 1.217 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.5192, allocations: 15.94 kB / 1.217 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009663/0.5203, allocations: 150.8 kB / 1.217 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.5225, allocations: 472.6 kB / 1.218 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.5248, allocations: 0.716 MB / 1.218 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.5267, allocations: 1.284 MB / 1.22 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5278, allocations: 0.5595 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009177/0.5288, allocations: 422.2 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.5296, allocations: 461.8 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.5299, allocations: 56 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.531, allocations: 395.6 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.5314, allocations: 239.1 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00085/0.5322, allocations: 0.4972 MB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.5345, allocations: 1.523 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.5345, allocations: 4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5345, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.456e-05/0.5346, allocations: 0 / 1.224 GB, free: 10.31 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.002787/0.5374, allocations: 1.419 MB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5374, allocations: 12.02 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.5383, allocations: 183.4 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5394, allocations: 0.7421 MB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.5394, allocations: 58 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5396, allocations: 84 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.5411, allocations: 0.9191 MB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5411, allocations: 4 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.5412, allocations: 32 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5412, allocations: 20 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.5429, allocations: 1.093 MB / 1.228 GB, free: 5.617 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.003945/0.5468, allocations: 2.767 MB / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.5482, allocations: 0.7857 MB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.5487, allocations: 294.6 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.5488, allocations: 36.59 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008604/0.5497, allocations: 487.1 kB / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.5497, allocations: 0 / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003202/0.5529, allocations: 1.17 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.553, allocations: 196.5 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.5539, allocations: 0.6409 MB / 1.234 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.554, allocations: 41.7 kB / 1.234 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.5543, allocations: 392.4 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.5546, allocations: 256.4 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.5549, allocations: 162.5 kB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.555, allocations: 390.6 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.5556, allocations: 265.8 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/0.5562, allocations: 364 kB / 1.236 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.5573, allocations: 0.6041 MB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5573, allocations: 4 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001942/0.5592, allocations: 0.8487 MB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5593, allocations: 4 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5593, allocations: 4.062 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.5599, allocations: 80.91 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.5606, allocations: 167.6 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.5628, allocations: 1.512 MB / 1.239 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.5636, allocations: 100.6 kB / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.5637, allocations: 27.98 kB / 1.239 GB, free: 9.641 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.0005105/0.5643, allocations: 279 kB / 1.24 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.5645, allocations: 83.19 kB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.5669, allocations: 1.046 MB / 1.241 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.5669, allocations: 8 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5669, allocations: 0 / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5669, allocations: 11.91 kB / 1.241 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5681, allocations: 0.884 MB / 1.242 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5681, allocations: 0 / 1.242 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.5687, allocations: 147.8 kB / 1.242 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/0.5692, allocations: 84.77 kB / 1.242 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.5693, allocations: 19.98 kB / 1.242 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.5711, allocations: 1.544 MB / 1.243 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5711, allocations: 3.938 kB / 1.243 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.5731, allocations: 0.9123 MB / 1.244 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.5735, allocations: 275.7 kB / 1.245 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.5737, allocations: 23.98 kB / 1.245 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.5743, allocations: 63.94 kB / 1.245 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.5745, allocations: 68.89 kB / 1.245 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.5746, allocations: 31.92 kB / 1.245 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006391/0.5752, allocations: 463 kB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5752, allocations: 0 / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001003/0.5762, allocations: 323.2 kB / 1.246 GB, free: 3.148 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.001493/0.5777, allocations: 0.5956 MB / 1.246 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.5795, allocations: 0.8117 MB / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5795, allocations: 4.25 kB / 1.247 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.5804, allocations: 0.508 MB / 1.247 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5816, allocations: 284.1 kB / 1.248 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4576/1.039, allocations: 2.069 MB / 1.25 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/1.04, allocations: 1.02 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009948/1.041, allocations: 263.4 kB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/1.041, allocations: 100.7 kB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.041, allocations: 0 / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of Templates: time 0.02627/1.067, allocations: 14.37 MB / 1.265 GB, free: 180.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)