Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001314/0.001314, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001345/0.001345, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 291.1 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.507 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 96.64 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1573, allocations: 89.16 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006876/0.1642, allocations: 4.904 MB / 0.6978 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4634/0.6277, allocations: 148.4 MB / 0.8427 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.6285, allocations: 20.31 kB / 0.8427 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.6291, allocations: 147.7 kB / 0.8428 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.6308, allocations: 492.2 kB / 0.8433 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.6328, allocations: 0.7334 MB / 0.844 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.6343, allocations: 1.374 MB / 0.8453 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.6352, allocations: 0.5767 MB / 0.8459 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.6358, allocations: 476.9 kB / 0.8464 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.6364, allocations: 0.4994 MB / 0.8468 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.6365, allocations: 115.6 kB / 0.847 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.6373, allocations: 453.4 kB / 0.8474 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.6375, allocations: 292.9 kB / 0.8477 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005124/0.6381, allocations: 0.5545 MB / 0.8482 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.6399, allocations: 1.575 MB / 0.8497 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6399, allocations: 0 / 0.8497 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.64, allocations: 2.969 kB / 0.8498 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.64, allocations: 4 kB / 0.8498 GB, free: 4.914 MB / 0.5762 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.002518/0.6425, allocations: 1.419 MB / 0.8511 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.6425, allocations: 9.312 kB / 0.8512 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.6435, allocations: 180 kB / 0.8513 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6445, allocations: 0.7452 MB / 0.8521 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.6446, allocations: 60.47 kB / 0.8521 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.6447, allocations: 83.77 kB / 0.8522 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.6463, allocations: 0.9142 MB / 0.8531 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6463, allocations: 3.938 kB / 0.8531 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/0.6464, allocations: 38.06 kB / 0.8531 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.6464, allocations: 24.53 kB / 0.8531 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.6482, allocations: 1.097 MB / 0.8542 GB, free: 1.887 MB / 0.5762 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.004357/0.6525, allocations: 2.772 MB / 0.8569 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.654, allocations: 0.7803 MB / 0.8577 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.6546, allocations: 296.6 kB / 0.858 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.451e-05/0.6547, allocations: 29.2 kB / 0.858 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/0.6556, allocations: 499.1 kB / 0.8585 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/0.6557, allocations: 1.938 kB / 0.8585 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003216/0.6589, allocations: 1.169 MB / 0.8596 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.659, allocations: 195 kB / 0.8598 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008276/0.6599, allocations: 0.641 MB / 0.8604 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/0.66, allocations: 42.33 kB / 0.8605 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.6603, allocations: 396.4 kB / 0.8608 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6606, allocations: 252.8 kB / 0.8611 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.6609, allocations: 166.6 kB / 0.8612 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.6611, allocations: 388 kB / 0.8616 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.6616, allocations: 265.2 kB / 0.8619 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.6622, allocations: 358.1 kB / 0.8622 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6633, allocations: 0.6039 MB / 0.8628 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.6634, allocations: 0 / 0.8628 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001939/0.6653, allocations: 0.8491 MB / 0.8636 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6653, allocations: 5.188 kB / 0.8636 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.6654, allocations: 2.781 kB / 0.8636 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.666, allocations: 82.72 kB / 0.8637 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.6667, allocations: 165.8 kB / 0.8639 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.6691, allocations: 1.638 MB / 0.8655 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.6699, allocations: 92.3 kB / 0.8656 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.67, allocations: 34.62 kB / 0.8656 GB, free: 9.578 MB / 0.5919 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.0004939/0.6705, allocations: 272.5 kB / 0.8659 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.6706, allocations: 79.06 kB / 0.8659 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.6731, allocations: 1.051 MB / 0.867 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.6731, allocations: 9.906 kB / 0.867 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6731, allocations: 0 / 0.867 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.6731, allocations: 7.922 kB / 0.867 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.6744, allocations: 0.8768 MB / 0.8678 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6744, allocations: 2.219 kB / 0.8678 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.675, allocations: 148.4 kB / 0.868 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.6755, allocations: 71.84 kB / 0.868 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.6755, allocations: 27.66 kB / 0.8681 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.6777, allocations: 1.664 MB / 0.8697 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6778, allocations: 0 / 0.8697 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.68, allocations: 0.9122 MB / 0.8706 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.6804, allocations: 267.7 kB / 0.8708 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.6806, allocations: 23.98 kB / 0.8709 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.6812, allocations: 61.97 kB / 0.8709 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.6814, allocations: 72.89 kB / 0.871 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.6815, allocations: 31.98 kB / 0.871 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006437/0.6822, allocations: 459 kB / 0.8715 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6822, allocations: 4 kB / 0.8715 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009778/0.6832, allocations: 331.1 kB / 0.8718 GB, free: 4.039 MB / 0.5919 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.002158/0.6853, allocations: 0.5914 MB / 0.8724 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.688, allocations: 1.016 MB / 0.8733 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/0.688, allocations: 0 / 0.8733 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6891, allocations: 0.5157 MB / 0.8738 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.6905, allocations: 299.2 kB / 0.8741 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.694, allocations: 2.077 MB / 0.8762 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.6948, allocations: 1.019 MB / 0.8772 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009053/0.6957, allocations: 262.5 kB / 0.8774 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.696, allocations: 107.4 kB / 0.8775 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.696, allocations: 4 kB / 0.8775 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.02799/0.724, allocations: 14.9 MB / 0.8921 GB, free: 15.57 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)