Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.754/4.754, allocations: 0.5623 GB / 0.5769 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002416/0.002416, allocations: 356.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.936/3.936, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 184.2 kB / 1.225 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12.59 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1498, allocations: 115.3 MB / 1.461 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.6352/0.7851, allocations: 82.97 MB / 1.542 GB, free: 23.2 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03791/0.823, allocations: 23.5 MB / 1.565 GB, free: 21.45 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.8273, allocations: 92.72 kB / 1.565 GB, free: 21.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005558/0.8329, allocations: 1.422 MB / 1.566 GB, free: 20.88 MB / 0.6667 GB [/var/lib/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. [/var/lib/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.01396/0.8469, allocations: 3.741 MB / 1.57 GB, free: 19.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01511/0.8621, allocations: 3.995 MB / 1.574 GB, free: 18.13 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.8736, allocations: 7.656 MB / 1.581 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.8771, allocations: 1.731 MB / 1.583 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.8823, allocations: 2.143 MB / 1.585 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.8863, allocations: 1.876 MB / 1.587 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007237/0.8871, allocations: 128.9 kB / 1.587 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006005/0.8931, allocations: 1.65 MB / 1.589 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.8945, allocations: 0.6295 MB / 1.589 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.896, allocations: 0.5886 MB / 1.59 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006782/0.9028, allocations: 3.924 MB / 1.594 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9028, allocations: 3.938 kB / 1.594 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.943e-06/0.9028, allocations: 0 / 1.594 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.047e-05/0.9029, allocations: 0 / 1.594 GB, free: 9.043 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.006623/0.9095, allocations: 3.075 MB / 1.597 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9096, allocations: 9.125 kB / 1.597 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004044/0.9136, allocations: 0.7142 MB / 1.597 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005626/0.9193, allocations: 2.275 MB / 1.6 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009268/0.9203, allocations: 338.1 kB / 1.6 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/0.9207, allocations: 180.6 kB / 1.6 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005231/0.926, allocations: 2.064 MB / 1.602 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/0.926, allocations: 7.922 kB / 1.602 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.9263, allocations: 69.25 kB / 1.602 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.9263, allocations: 39.41 kB / 1.602 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005434/0.9318, allocations: 1.876 MB / 1.604 GB, free: 2.34 MB / 0.6667 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.01741/0.9492, allocations: 9.505 MB / 1.613 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.9526, allocations: 1.22 MB / 1.614 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.9548, allocations: 0.7337 MB / 1.615 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007769/0.9626, allocations: 3.874 MB / 1.619 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002475/0.9651, allocations: 0.8598 MB / 1.62 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001246/0.9664, allocations: 182.8 kB / 1.62 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 7.62e-06/0.9664, allocations: 0 / 1.62 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.006978/0.9734, allocations: 2.102 MB / 1.622 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.9736, allocations: 171.2 kB / 1.622 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/0.9783, allocations: 2.341 MB / 1.624 GB, free: 252 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.9787, allocations: 61.7 kB / 1.625 GB, free: 184 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.9802, allocations: 1.168 MB / 1.626 GB, free: 15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.9807, allocations: 337.8 kB / 1.626 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.9808, allocations: 36 kB / 1.626 GB, free: 14.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.9811, allocations: 365.9 kB / 1.626 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/0.9838, allocations: 0.7964 MB / 1.627 GB, free: 13.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.9871, allocations: 1.291 MB / 1.628 GB, free: 11.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.99, allocations: 0.983 MB / 1.629 GB, free: 10.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.9901, allocations: 4 kB / 1.629 GB, free: 10.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007476/0.9976, allocations: 2.427 MB / 1.632 GB, free: 8.512 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005106/0.9981, allocations: 0.5744 MB / 1.632 GB, free: 7.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.9981, allocations: 16 kB / 1.632 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.252e-05/0.9982, allocations: 24 kB / 1.632 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/1, allocations: 363.4 kB / 1.633 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.87e-05/1, allocations: 23.94 kB / 1.633 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/1.004, allocations: 374.7 kB / 1.633 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/1.004, allocations: 91.94 kB / 1.633 GB, free: 6.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.004, allocations: 4 kB / 1.633 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006822/1.011, allocations: 2.236 MB / 1.635 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-05/1.011, allocations: 12 kB / 1.635 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/1.011, allocations: 23.95 kB / 1.635 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.014, allocations: 367.5 kB / 1.636 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/1.014, allocations: 23.94 kB / 1.636 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/1.017, allocations: 352.2 kB / 1.636 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002865/1.018, allocations: 87.95 kB / 1.636 GB, free: 3.762 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * 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.001598/1.019, allocations: 0.6372 MB / 1.637 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/1.02, allocations: 244.9 kB / 1.637 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/1.025, allocations: 1.907 MB / 1.639 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.025, allocations: 12.09 kB / 1.639 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.025, allocations: 0 / 1.639 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004376/1.03, allocations: 1.465 MB / 1.64 GB, free: 15.46 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.01141/1.041, allocations: 3.973 MB / 1.644 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.041, allocations: 8.062 kB / 1.644 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.043, allocations: 227.7 kB / 1.644 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/1.043, allocations: 4 kB / 1.644 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.043, allocations: 35.97 kB / 1.644 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/1.043, allocations: 8 kB / 1.644 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.043, allocations: 7.891 kB / 1.644 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/1.051, allocations: 2.656 MB / 1.647 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.053, allocations: 0.5133 MB / 1.648 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/1.053, allocations: 23.98 kB / 1.648 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.056, allocations: 183.7 kB / 1.648 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.056, allocations: 84.83 kB / 1.648 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.056, allocations: 59.89 kB / 1.648 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003553/1.06, allocations: 1.6 MB / 1.649 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.74e-07/1.06, allocations: 0 / 1.649 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005155/1.065, allocations: 1.369 MB / 1.651 GB, free: 4.578 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/1.067, allocations: 0.6466 MB / 1.651 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009734/1.076, allocations: 3.482 MB / 1.655 GB, free: 408 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.077, allocations: 8.109 kB / 1.655 GB, free: 400 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/1.079, allocations: 0.7673 MB / 1.656 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007302/1.086, allocations: 1.126 MB / 1.657 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.097, allocations: 5.034 MB / 1.662 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/1.099, allocations: 1.706 MB / 1.663 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003978/1.103, allocations: 0.604 MB / 1.664 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008816/1.104, allocations: 187.4 kB / 1.664 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of SimCode: time 1.753e-06/1.104, allocations: 4 kB / 1.664 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of Templates: time 0.1172/1.222, allocations: 50.21 MB / 1.713 GB, free: 5.398 MB / 0.7761 GB