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.001547/0.001547, allocations: 105.4 kB / 16.27 MB, free: 5.984 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.001443/0.001443, allocations: 189 kB / 17.2 MB, free: 5.609 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 283.2 kB / 291.3 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 178.5 MB / 0.5079 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 99.84 kB / 0.6071 GB, free: 9.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1771, allocations: 89.14 MB / 0.6941 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006803/0.184, allocations: 4.9 MB / 0.6989 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4316/0.6156, allocations: 150.6 MB / 0.846 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007539/0.6164, allocations: 16.5 kB / 0.846 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.617, allocations: 196.7 kB / 0.8462 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.6186, allocations: 0.5424 MB / 0.8467 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.6204, allocations: 0.825 MB / 0.8475 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6218, allocations: 1.363 MB / 0.8489 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.6226, allocations: 0.5776 MB / 0.8494 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.6232, allocations: 480.5 kB / 0.8499 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005554/0.6238, allocations: 0.4901 MB / 0.8504 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.624, allocations: 117.8 kB / 0.8505 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.6248, allocations: 455.2 kB / 0.8509 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.6251, allocations: 297.2 kB / 0.8512 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005231/0.6256, allocations: 0.5516 MB / 0.8517 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.6274, allocations: 1.576 MB / 0.8533 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6274, allocations: 1.375 kB / 0.8533 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.81e-07/0.6274, allocations: 0 / 0.8533 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.6274, allocations: 4 kB / 0.8533 GB, free: 3.922 MB / 0.6075 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.002413/0.6298, allocations: 1.423 MB / 0.8547 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6299, allocations: 10.28 kB / 0.8547 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.6308, allocations: 182.8 kB / 0.8549 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6318, allocations: 0.7392 MB / 0.8556 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.6319, allocations: 64.09 kB / 0.8556 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.632, allocations: 76.22 kB / 0.8557 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6335, allocations: 0.9174 MB / 0.8566 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.6336, allocations: 0 / 0.8566 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/0.6337, allocations: 37.31 kB / 0.8566 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6337, allocations: 19.75 kB / 0.8567 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.6354, allocations: 1.102 MB / 0.8577 GB, free: 0.9023 MB / 0.6075 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.004029/0.6394, allocations: 2.761 MB / 0.8604 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.6409, allocations: 0.7847 MB / 0.8612 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.6414, allocations: 296.2 kB / 0.8615 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.6415, allocations: 34.88 kB / 0.8615 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.6424, allocations: 488 kB / 0.862 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.6424, allocations: 0 / 0.862 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.003265/0.6456, allocations: 1.176 MB / 0.8631 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.6458, allocations: 192.6 kB / 0.8633 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.6466, allocations: 0.637 MB / 0.8639 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.6467, allocations: 37.7 kB / 0.864 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.6471, allocations: 400.3 kB / 0.8644 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.6473, allocations: 252.4 kB / 0.8646 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.6476, allocations: 162.5 kB / 0.8647 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.6478, allocations: 398.7 kB / 0.8651 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.6484, allocations: 261.9 kB / 0.8654 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.649, allocations: 363.9 kB / 0.8657 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6502, allocations: 0.6047 MB / 0.8663 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6502, allocations: 0 / 0.8663 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001906/0.6521, allocations: 0.8448 MB / 0.8671 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6521, allocations: 8.781 kB / 0.8671 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6521, allocations: 0 / 0.8671 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.6527, allocations: 85.72 kB / 0.8672 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.6534, allocations: 163.8 kB / 0.8674 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.6555, allocations: 1.631 MB / 0.869 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.6562, allocations: 95.34 kB / 0.8691 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.6563, allocations: 35.97 kB / 0.8691 GB, free: 6.285 MB / 0.6231 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.0003777/0.6567, allocations: 267.4 kB / 0.8694 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.6568, allocations: 79.06 kB / 0.8694 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.6592, allocations: 1.047 MB / 0.8705 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6592, allocations: 12 kB / 0.8705 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6592, allocations: 3.984 kB / 0.8705 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6592, allocations: 7.922 kB / 0.8705 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.6602, allocations: 0.8724 MB / 0.8713 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6602, allocations: 0 / 0.8713 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.6608, allocations: 139.8 kB / 0.8715 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.6612, allocations: 76.78 kB / 0.8715 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.6613, allocations: 23.98 kB / 0.8716 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.6632, allocations: 1.673 MB / 0.8732 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6632, allocations: 0 / 0.8732 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6651, allocations: 0.9122 MB / 0.8741 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.6655, allocations: 267.7 kB / 0.8743 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6656, allocations: 16 kB / 0.8744 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.6662, allocations: 69.05 kB / 0.8744 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.6664, allocations: 72.84 kB / 0.8745 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.6664, allocations: 35.44 kB / 0.8745 GB, free: 496 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005588/0.667, allocations: 459 kB / 0.875 GB, free: 40 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.667, allocations: 0 / 0.875 GB, free: 40 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008575/0.6679, allocations: 323.2 kB / 0.8753 GB, free: 15.72 MB / 0.6387 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.001801/0.6697, allocations: 0.6023 MB / 0.8759 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.6721, allocations: 1.012 MB / 0.8768 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6721, allocations: 0 / 0.8768 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.673, allocations: 0.5042 MB / 0.8773 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6742, allocations: 303.3 kB / 0.8776 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.6771, allocations: 1.725 MB / 0.8793 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.6778, allocations: 1.019 MB / 0.8803 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.6781, allocations: 119.3 kB / 0.8804 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of SimCode: time 2.465e-06/0.6781, allocations: 0 / 0.8804 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.02524/0.7033, allocations: 18.34 MB / 0.8983 GB, free: 8.316 MB / 0.6544 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)