Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.828/1.828, allocations: 288.4 MB / 304.3 MB, free: 8.023 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.001001/0.001001, allocations: 183.1 kB / 372.9 MB, free: 10.16 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.328/1.328, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0007554/0.0007555, allocations: 84.25 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 15.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04498/0.2164, allocations: 57.76 MB / 1.037 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.2333, allocations: 13 MB / 1.05 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.2356, allocations: 55.62 kB / 1.05 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.2385, allocations: 0.7884 MB / 1.051 GB, free: 3.559 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.006464/0.245, allocations: 1.996 MB / 1.053 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.2487, allocations: 1.249 MB / 1.054 GB, free: 328 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005795/0.2545, allocations: 4.711 MB / 1.058 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.2567, allocations: 1.169 MB / 1.06 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.2595, allocations: 1.35 MB / 1.061 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.2615, allocations: 1.175 MB / 1.062 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.2619, allocations: 76 kB / 1.062 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.265, allocations: 1.232 MB / 1.063 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006522/0.2656, allocations: 386.5 kB / 1.064 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.2672, allocations: 0.8726 MB / 1.065 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.2703, allocations: 2.377 MB / 1.067 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2704, allocations: 0 / 1.067 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2704, allocations: 0 / 1.067 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.447e-05/0.2705, allocations: 0 / 1.067 GB, free: 2.902 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.004084/0.2746, allocations: 2.026 MB / 1.069 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.2746, allocations: 12.03 kB / 1.069 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.2759, allocations: 354.3 kB / 1.069 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3579/0.6339, allocations: 1.426 MB / 1.071 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.6341, allocations: 155.2 kB / 1.071 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.6343, allocations: 109 kB / 1.071 GB, free: 90.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.6374, allocations: 1.481 MB / 1.072 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.6374, allocations: 1.156 kB / 1.072 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.6375, allocations: 47.72 kB / 1.072 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.6376, allocations: 37.48 kB / 1.072 GB, free: 89.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.6409, allocations: 1.432 MB / 1.074 GB, free: 89.3 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.008258/0.6491, allocations: 6.653 MB / 1.08 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.6513, allocations: 1.214 MB / 1.081 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.6527, allocations: 0.6056 MB / 1.082 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.6533, allocations: 1.146 MB / 1.083 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6534, allocations: 42.66 kB / 1.083 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.206e-06/0.6534, allocations: 0 / 1.083 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004458/0.6578, allocations: 1.744 MB / 1.085 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.6579, allocations: 111.4 kB / 1.085 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.6598, allocations: 1.371 MB / 1.086 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/0.6599, allocations: 44.48 kB / 1.086 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.6604, allocations: 0.7067 MB / 1.087 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.6606, allocations: 267.6 kB / 1.087 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.6606, allocations: 19.12 kB / 1.087 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.6607, allocations: 337.2 kB / 1.088 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.6621, allocations: 0.528 MB / 1.088 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.6635, allocations: 0.7717 MB / 1.089 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.6661, allocations: 1.217 MB / 1.09 GB, free: 78.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6661, allocations: 1.156 kB / 1.09 GB, free: 78.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003212/0.6694, allocations: 1.44 MB / 1.092 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.6695, allocations: 238 kB / 1.092 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6695, allocations: 4.719 kB / 1.092 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.6695, allocations: 9.312 kB / 1.092 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.6708, allocations: 297.6 kB / 1.092 GB, free: 77.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.6708, allocations: 14 kB / 1.092 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6723, allocations: 215.3 kB / 1.092 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.6725, allocations: 44.41 kB / 1.092 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.6725, allocations: 3.469 kB / 1.092 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002996/0.6755, allocations: 1.277 MB / 1.094 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6755, allocations: 5 kB / 1.094 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6755, allocations: 9.25 kB / 1.094 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.6767, allocations: 301.7 kB / 1.094 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.6767, allocations: 18.36 kB / 1.094 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6781, allocations: 208.9 kB / 1.094 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.6782, allocations: 38.23 kB / 1.094 GB, free: 77.25 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.0007983/0.679, allocations: 473.1 kB / 1.095 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.6793, allocations: 149.8 kB / 1.095 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.6826, allocations: 1.567 MB / 1.096 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002513/0.6851, allocations: 1.206 MB / 1.097 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6851, allocations: 1.562 kB / 1.097 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/0.6858, allocations: 387.3 kB / 1.098 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.686, allocations: 18.38 kB / 1.098 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6871, allocations: 165.7 kB / 1.098 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.6873, allocations: 68.06 kB / 1.098 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003403/0.6908, allocations: 1.403 MB / 1.099 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004087/0.6949, allocations: 2.187 MB / 1.102 GB, free: 74 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001192/0.6961, allocations: 0.6043 MB / 1.102 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0013/0.6974, allocations: 0.957 MB / 1.103 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of Backend: time 6.71e-07/0.6974, allocations: 0 / 1.103 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004635/0.702, allocations: 1.964 MB / 1.105 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005477/0.7075, allocations: 3.781 MB / 1.109 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.04701/0.7545, allocations: 34.88 MB / 1.143 GB, free: 42.89 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)