Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001169/0.001169, 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.001197/0.001198, allocations: 190.2 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.6 MB / 0.7448 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.48 kB / 0.9115 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3512, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007397/0.3587, allocations: 5.133 MB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.5279, allocations: 148.4 MB / 1.218 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.529, allocations: 19.88 kB / 1.218 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000894/0.5299, allocations: 154.8 kB / 1.218 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.5323, allocations: 497.2 kB / 1.218 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.5346, allocations: 0.7513 MB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.5364, allocations: 1.42 MB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.5375, allocations: 0.5952 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.5383, allocations: 494.3 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008567/0.5392, allocations: 0.525 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.5395, allocations: 116 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5405, allocations: 455.7 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.5408, allocations: 303 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007755/0.5416, allocations: 0.5752 MB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.544, allocations: 1.624 MB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.544, allocations: 4 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5441, allocations: 0 / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.981e-05/0.5441, allocations: 0 / 1.225 GB, free: 9.18 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.003564/0.5477, allocations: 1.462 MB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5477, allocations: 8.031 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.5487, allocations: 187.3 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.5498, allocations: 0.7547 MB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.5498, allocations: 62 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.55, allocations: 84 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.5516, allocations: 0.9417 MB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.5517, allocations: 3.938 kB / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.5517, allocations: 40 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.5518, allocations: 20 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.5536, allocations: 1.124 MB / 1.23 GB, free: 4.367 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.003952/0.5575, allocations: 2.77 MB / 1.232 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.559, allocations: 0.8082 MB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.5595, allocations: 306.7 kB / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.5596, allocations: 32.59 kB / 1.233 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009255/0.5605, allocations: 0.4913 MB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/0.5606, allocations: 4 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.00313/0.5637, allocations: 1.207 MB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.5638, allocations: 192.5 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.5646, allocations: 0.6409 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.5647, allocations: 49.69 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.565, allocations: 404.4 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.5652, allocations: 260.2 kB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.5654, allocations: 174.5 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5656, allocations: 382.8 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.5661, allocations: 269.9 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.5667, allocations: 371.1 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.5678, allocations: 0.6151 MB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5678, allocations: 0 / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001888/0.5697, allocations: 0.8681 MB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5697, allocations: 4 kB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5697, allocations: 4.062 kB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.5703, allocations: 84.88 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.571, allocations: 167.8 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.5731, allocations: 1.63 MB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/0.5739, allocations: 101.2 kB / 1.241 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.574, allocations: 27.98 kB / 1.241 GB, free: 8.121 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.0004756/0.5745, allocations: 291.3 kB / 1.241 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.5747, allocations: 82.97 kB / 1.241 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.5771, allocations: 1.07 MB / 1.242 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5771, allocations: 12 kB / 1.242 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5771, allocations: 0 / 1.242 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.5771, allocations: 3.984 kB / 1.242 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5782, allocations: 0.9035 MB / 1.243 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5782, allocations: 0 / 1.243 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.5788, allocations: 155.8 kB / 1.243 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/0.5793, allocations: 76.67 kB / 1.244 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.5793, allocations: 27.97 kB / 1.244 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.5812, allocations: 1.654 MB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5812, allocations: 0 / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.5838, allocations: 1.34 MB / 1.247 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.5842, allocations: 279.7 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.5844, allocations: 23.94 kB / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.585, allocations: 59.94 kB / 1.247 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.5852, allocations: 76.95 kB / 1.247 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.5853, allocations: 31.98 kB / 1.247 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005852/0.5859, allocations: 471 kB / 1.247 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5859, allocations: 0 / 1.247 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008552/0.5868, allocations: 323.3 kB / 1.248 GB, free: 1.012 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.001469/0.5882, allocations: 0.6164 MB / 1.248 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.597/1.185, allocations: 1.043 MB / 1.249 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.185, allocations: 0.9688 kB / 1.249 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.186, allocations: 0.5149 MB / 1.25 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.188, allocations: 301.5 kB / 1.25 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/1.191, allocations: 2.217 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/1.192, allocations: 1.033 MB / 1.253 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009125/1.193, allocations: 264.8 kB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.193, allocations: 109.9 kB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.193, allocations: 0 / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02793/1.221, allocations: 15.14 MB / 1.268 GB, free: 180.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)