Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.551/2.551, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 181.6 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.575/2.575, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 90.91 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000681/0.0006813, allocations: 11.69 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2653, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.103/0.3684, allocations: 57.8 MB / 0.9559 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.3921, allocations: 12.97 MB / 0.9686 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.3948, allocations: 51.69 kB / 0.9687 GB, free: 10.57 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.3988, allocations: 0.7844 MB / 0.9694 GB, free: 9.785 MB / 0.6199 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.008058/0.4069, allocations: 1.844 MB / 0.9712 GB, free: 7.93 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.4126, allocations: 1.158 MB / 0.9723 GB, free: 6.785 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.009009/0.4216, allocations: 4.678 MB / 0.9769 GB, free: 2.09 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.4245, allocations: 1.105 MB / 0.978 GB, free: 0.957 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.4289, allocations: 1.326 MB / 0.9793 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.432, allocations: 1.167 MB / 0.9804 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.4326, allocations: 72 kB / 0.9805 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.4369, allocations: 0.9511 MB / 0.9814 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009739/0.4379, allocations: 394.4 kB / 0.9818 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009516/0.4389, allocations: 380.8 kB / 0.9822 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005178/0.4441, allocations: 2.283 MB / 0.9844 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4442, allocations: 0 / 0.9844 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4442, allocations: 4 kB / 0.9844 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.065e-05/0.4443, allocations: 0 / 0.9844 GB, free: 10.37 MB / 0.6355 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.00686/0.4511, allocations: 2.038 MB / 0.9864 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4512, allocations: 8.031 kB / 0.9864 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.4538, allocations: 346.4 kB / 0.9867 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/0.4579, allocations: 1.37 MB / 0.9881 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.4582, allocations: 165.5 kB / 0.9882 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.4585, allocations: 108 kB / 0.9883 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.4636, allocations: 1.465 MB / 0.9898 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/0.4637, allocations: 7.938 kB / 0.9898 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.4639, allocations: 44 kB / 0.9898 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/0.464, allocations: 31.98 kB / 0.9898 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006181/0.4702, allocations: 1.436 MB / 0.9912 GB, free: 3.152 MB / 0.6355 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.01423/0.4845, allocations: 6.627 MB / 0.9977 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.4887, allocations: 1.219 MB / 0.9989 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.4914, allocations: 0.6079 MB / 0.9995 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.4927, allocations: 1.141 MB / 1.001 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.4928, allocations: 47.22 kB / 1.001 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 4.298e-06/0.4928, allocations: 0 / 1.001 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.01206/0.5049, allocations: 1.73 MB / 1.002 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.5051, allocations: 111.5 kB / 1.002 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005131/0.5103, allocations: 1.373 MB / 1.004 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000383/0.5107, allocations: 45.7 kB / 1.004 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.5122, allocations: 0.7124 MB / 1.005 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/0.513, allocations: 264.1 kB / 1.005 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.5131, allocations: 16 kB / 1.005 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002626/0.5134, allocations: 345.9 kB / 1.005 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/0.5176, allocations: 0.5328 MB / 1.006 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004561/0.5222, allocations: 0.7698 MB / 1.006 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/0.5266, allocations: 0.5807 MB / 1.007 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.5266, allocations: 0 / 1.007 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.009847/0.5365, allocations: 1.437 MB / 1.008 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002788/0.5368, allocations: 236.3 kB / 1.009 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.5369, allocations: 4 kB / 1.009 GB, free: 356 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.004e-05/0.537, allocations: 19.88 kB / 1.009 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.5409, allocations: 299.6 kB / 1.009 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.242e-05/0.541, allocations: 8 kB / 1.009 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/0.545, allocations: 222.9 kB / 1.009 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/0.5455, allocations: 35.98 kB / 1.009 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5455, allocations: 4 kB / 1.009 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009451/0.555, allocations: 1.288 MB / 1.01 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.5551, allocations: 4 kB / 1.01 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.5551, allocations: 8 kB / 1.01 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.5591, allocations: 295.8 kB / 1.011 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.74e-05/0.5592, allocations: 8 kB / 1.011 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/0.5631, allocations: 223 kB / 1.011 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.5636, allocations: 39.98 kB / 1.011 GB, free: 13.91 MB / 0.6667 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.001892/0.5655, allocations: 456.8 kB / 1.011 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007791/0.5663, allocations: 150.2 kB / 1.012 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5766, allocations: 1.571 MB / 1.013 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008169/0.5848, allocations: 1.195 MB / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.5849, allocations: 0 / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.5867, allocations: 386.8 kB / 1.015 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006645/0.5874, allocations: 19.94 kB / 1.015 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003871/0.5913, allocations: 159.7 kB / 1.015 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/0.5919, allocations: 72.55 kB / 1.015 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01079/0.6027, allocations: 1.407 MB / 1.016 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01369/0.6165, allocations: 2.186 MB / 1.018 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004025/0.6205, allocations: 0.5947 MB / 1.019 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003555/0.6242, allocations: 0.9668 MB / 1.02 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of Backend: time 2.063e-06/0.6242, allocations: 0 / 1.02 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01265/0.6369, allocations: 1.938 MB / 1.022 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01721/0.6542, allocations: 3.78 MB / 1.025 GB, free: 14.89 MB / 0.6824 GB Notification: Performance of Templates: time 0.7004/1.355, allocations: 34.16 MB / 1.059 GB, free: 149.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)