Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001185/0.001185, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.0012/0.0012, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 292.4 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.131/1.131, allocations: 178.5 MB / 0.5079 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 95.83 kB / 0.6071 GB, free: 9.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1726, allocations: 89.13 MB / 0.6941 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006843/0.1795, allocations: 5.095 MB / 0.6991 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4571/0.6367, allocations: 150.7 MB / 0.8462 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.6379, allocations: 16.09 kB / 0.8463 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009907/0.639, allocations: 204 kB / 0.8464 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.6417, allocations: 0.5559 MB / 0.847 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.6446, allocations: 0.834 MB / 0.8478 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002604/0.6472, allocations: 1.415 MB / 0.8492 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.6486, allocations: 0.5964 MB / 0.8498 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.6498, allocations: 493.2 kB / 0.8502 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.651, allocations: 0.5155 MB / 0.8507 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004605/0.6514, allocations: 121.9 kB / 0.8509 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.6531, allocations: 463.1 kB / 0.8513 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.6536, allocations: 297.7 kB / 0.8516 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.6548, allocations: 0.5741 MB / 0.8521 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.6574, allocations: 1.626 MB / 0.8537 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6574, allocations: 0 / 0.8537 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6575, allocations: 0 / 0.8537 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.6575, allocations: 0 / 0.8537 GB, free: 3.5 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00299/0.6605, allocations: 1.467 MB / 0.8552 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6605, allocations: 8.812 kB / 0.8552 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.6615, allocations: 188.8 kB / 0.8554 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6627, allocations: 0.7511 MB / 0.8561 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.6628, allocations: 69.41 kB / 0.8562 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.663, allocations: 88.39 kB / 0.8562 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.6647, allocations: 0.9332 MB / 0.8571 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.6648, allocations: 3.469 kB / 0.8572 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.6649, allocations: 31.09 kB / 0.8572 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.6649, allocations: 21.09 kB / 0.8572 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.6667, allocations: 1.122 MB / 0.8583 GB, free: 436 kB / 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.004397/0.6711, allocations: 2.772 MB / 0.861 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.6726, allocations: 0.8111 MB / 0.8618 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.6732, allocations: 311.8 kB / 0.8621 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.6733, allocations: 32.22 kB / 0.8621 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009914/0.6743, allocations: 0.4896 MB / 0.8626 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.6743, allocations: 0 / 0.8626 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003486/0.6778, allocations: 1.203 MB / 0.8638 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.678, allocations: 197.8 kB / 0.864 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.679, allocations: 0.6409 MB / 0.8646 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-05/0.6791, allocations: 45.7 kB / 0.8646 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.6795, allocations: 400.4 kB / 0.865 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.6798, allocations: 276.1 kB / 0.8653 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.68, allocations: 166.5 kB / 0.8654 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002624/0.6803, allocations: 382.8 kB / 0.8658 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.6809, allocations: 277.8 kB / 0.8661 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.6816, allocations: 363.8 kB / 0.8664 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.6828, allocations: 0.6151 MB / 0.867 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6828, allocations: 0 / 0.867 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002097/0.6849, allocations: 0.8604 MB / 0.8679 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.685, allocations: 7.938 kB / 0.8679 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.685, allocations: 8 kB / 0.8679 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.6856, allocations: 88.8 kB / 0.868 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.6863, allocations: 163.8 kB / 0.8681 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.6888, allocations: 1.625 MB / 0.8697 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.6897, allocations: 101 kB / 0.8698 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.6898, allocations: 31.98 kB / 0.8698 GB, free: 5.473 MB / 0.6231 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.0005399/0.6903, allocations: 275.3 kB / 0.8701 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6905, allocations: 86.97 kB / 0.8702 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.693, allocations: 1.068 MB / 0.8712 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.693, allocations: 8 kB / 0.8712 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.693, allocations: 0 / 0.8712 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6931, allocations: 3.984 kB / 0.8712 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.6943, allocations: 0.9152 MB / 0.8721 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6943, allocations: 0 / 0.8721 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.6949, allocations: 151.8 kB / 0.8723 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.6954, allocations: 76.78 kB / 0.8723 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.6955, allocations: 31.91 kB / 0.8724 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.6976, allocations: 1.656 MB / 0.874 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6976, allocations: 0 / 0.874 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.7003, allocations: 1.332 MB / 0.8753 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.7008, allocations: 275.8 kB / 0.8756 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.7009, allocations: 19.94 kB / 0.8756 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.7015, allocations: 69.19 kB / 0.8756 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.7017, allocations: 68.89 kB / 0.8757 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.7018, allocations: 35.98 kB / 0.8757 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006154/0.7024, allocations: 463 kB / 0.8762 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7024, allocations: 0 / 0.8762 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009577/0.7034, allocations: 335.2 kB / 0.8765 GB, free: 14.39 MB / 0.6387 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.001914/0.7053, allocations: 0.6009 MB / 0.8771 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.7077, allocations: 1.047 MB / 0.8781 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.7078, allocations: 4 kB / 0.8781 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009492/0.7087, allocations: 0.5235 MB / 0.8786 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7099, allocations: 303.3 kB / 0.8789 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.7132, allocations: 1.843 MB / 0.8807 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.7139, allocations: 1.031 MB / 0.8817 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7142, allocations: 115.4 kB / 0.8818 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.7142, allocations: 0 / 0.8818 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of Templates: time 0.02881/0.743, allocations: 18.79 MB / 0.9002 GB, free: 6.352 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)