Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.565/1.565, allocations: 287.4 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009625/0.0009626, allocations: 176.5 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007572/0.0007573, allocations: 88.16 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 17.69 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04974/0.2129, allocations: 57.75 MB / 1.036 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.2292, allocations: 13.01 MB / 1.048 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.231, allocations: 47.69 kB / 1.048 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.2333, allocations: 0.7961 MB / 1.049 GB, free: 4.395 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004925/0.2383, allocations: 1.847 MB / 1.051 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.2417, allocations: 1.206 MB / 1.052 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00534/0.2471, allocations: 4.721 MB / 1.057 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.2491, allocations: 1.153 MB / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.2517, allocations: 1.338 MB / 1.059 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.2536, allocations: 1.167 MB / 1.06 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.254, allocations: 72 kB / 1.06 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.2566, allocations: 0.9589 MB / 1.061 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.2571, allocations: 394.4 kB / 1.062 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.2577, allocations: 384.8 kB / 1.062 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.2601, allocations: 2.299 MB / 1.064 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2601, allocations: 0 / 1.064 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2601, allocations: 0 / 1.064 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.2602, allocations: 4 kB / 1.064 GB, free: 4.805 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003424/0.2636, allocations: 2.02 MB / 1.066 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2636, allocations: 8.031 kB / 1.066 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.2649, allocations: 354.3 kB / 1.067 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.267, allocations: 1.436 MB / 1.068 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.2672, allocations: 161.5 kB / 1.068 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.2673, allocations: 111.9 kB / 1.068 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3349/0.6022, allocations: 1.472 MB / 1.07 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.6023, allocations: 2 kB / 1.07 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.6024, allocations: 46.25 kB / 1.07 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-05/0.6025, allocations: 32.58 kB / 1.07 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.606, allocations: 1.434 MB / 1.071 GB, free: 89.89 MB / 0.6823 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.007936/0.6139, allocations: 6.645 MB / 1.078 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.6161, allocations: 1.218 MB / 1.079 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.6175, allocations: 0.6033 MB / 1.08 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.6181, allocations: 1.15 MB / 1.081 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6182, allocations: 47.53 kB / 1.081 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.055e-06/0.6182, allocations: 2.406 kB / 1.081 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004451/0.6226, allocations: 1.73 MB / 1.082 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6227, allocations: 115.9 kB / 1.082 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.6247, allocations: 1.369 MB / 1.084 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6248, allocations: 43.45 kB / 1.084 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.6253, allocations: 0.7136 MB / 1.085 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.6255, allocations: 262 kB / 1.085 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.6256, allocations: 20.81 kB / 1.085 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.6256, allocations: 340.5 kB / 1.085 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.627, allocations: 0.5338 MB / 1.086 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.6285, allocations: 0.7632 MB / 1.086 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.6311, allocations: 1.217 MB / 1.088 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6312, allocations: 1.469 kB / 1.088 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003362/0.6345, allocations: 1.437 MB / 1.089 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.6346, allocations: 238.4 kB / 1.089 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6346, allocations: 4.922 kB / 1.089 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6347, allocations: 9.625 kB / 1.089 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.6359, allocations: 297.4 kB / 1.09 GB, free: 78.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.6359, allocations: 9.344 kB / 1.09 GB, free: 78.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.6373, allocations: 223.5 kB / 1.09 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.6374, allocations: 39.62 kB / 1.09 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.6374, allocations: 7.531 kB / 1.09 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002852/0.6403, allocations: 1.285 MB / 1.091 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6403, allocations: 5.344 kB / 1.091 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6403, allocations: 9.141 kB / 1.091 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.6415, allocations: 297.2 kB / 1.091 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.6415, allocations: 13.75 kB / 1.091 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.6429, allocations: 215.3 kB / 1.092 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.6429, allocations: 34.84 kB / 1.092 GB, free: 78.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000731/0.6437, allocations: 466.4 kB / 1.092 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.6439, allocations: 146.8 kB / 1.092 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.6472, allocations: 1.576 MB / 1.094 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002545/0.6498, allocations: 1.199 MB / 1.095 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6498, allocations: 0 / 1.095 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/0.6506, allocations: 379.5 kB / 1.095 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.6509, allocations: 19.86 kB / 1.095 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6521, allocations: 163.1 kB / 1.095 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.6523, allocations: 70.81 kB / 1.096 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003489/0.6558, allocations: 1.409 MB / 1.097 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004267/0.66, allocations: 2.186 MB / 1.099 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001273/0.6613, allocations: 0.5993 MB / 1.1 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001339/0.6627, allocations: 0.961 MB / 1.101 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of Backend: time 6.91e-07/0.6627, allocations: 0 / 1.101 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004762/0.6675, allocations: 1.95 MB / 1.102 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005517/0.673, allocations: 3.77 MB / 1.106 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.04785/0.7209, allocations: 34.57 MB / 1.14 GB, free: 45.95 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)