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 2.454/2.454, allocations: 287.9 MB / 302.9 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 182.1 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 96.41 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.000466, allocations: 12.39 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1666, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.09949/0.2661, allocations: 75.33 MB / 1.052 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6087/0.8749, allocations: 22.12 MB / 1.074 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.8789, allocations: 84.59 kB / 1.074 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005898/0.8848, allocations: 1.54 MB / 1.075 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.898, allocations: 3.57 MB / 1.079 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.015/0.913, allocations: 3.933 MB / 1.083 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009493/0.9225, allocations: 4.119 MB / 1.087 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.9268, allocations: 1.751 MB / 1.089 GB, free: 24.37 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.9324, allocations: 1.961 MB / 1.09 GB, free: 24.37 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.9357, allocations: 1.385 MB / 1.092 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007388/0.9365, allocations: 116.1 kB / 1.092 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006439/0.9429, allocations: 1.724 MB / 1.094 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.9444, allocations: 0.5698 MB / 1.094 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.9461, allocations: 0.588 MB / 1.095 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.9537, allocations: 3.827 MB / 1.098 GB, free: 24.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.836e-06/0.9538, allocations: 0 / 1.098 GB, free: 24.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.587e-06/0.9538, allocations: 0 / 1.098 GB, free: 24.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000104/0.9539, allocations: 5.406 kB / 1.098 GB, free: 24.05 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.007656/0.9616, allocations: 3.044 MB / 1.101 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.9616, allocations: 9.438 kB / 1.101 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00437/0.966, allocations: 0.7214 MB / 1.102 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006172/0.9722, allocations: 2.259 MB / 1.104 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000987/0.9732, allocations: 337.1 kB / 1.105 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007039/0.974, allocations: 176.6 kB / 1.105 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005769/0.9798, allocations: 1.993 MB / 1.107 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.514e-05/0.9799, allocations: 0 / 1.107 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.9801, allocations: 75.95 kB / 1.107 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.9802, allocations: 39.69 kB / 1.107 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005918/0.9861, allocations: 1.764 MB / 1.109 GB, free: 21.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.01711/1.003, allocations: 9.273 MB / 1.118 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/1.006, allocations: 1.125 MB / 1.119 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008275/1.015, allocations: 4.175 MB / 1.123 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/1.017, allocations: 0.7838 MB / 1.124 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0016/1.019, allocations: 200.6 kB / 1.124 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 7.665e-06/1.019, allocations: 0 / 1.124 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.006627/1.025, allocations: 1.921 MB / 1.126 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/1.025, allocations: 166.4 kB / 1.126 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/1.03, allocations: 2.308 MB / 1.128 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000444/1.031, allocations: 66.84 kB / 1.128 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/1.032, allocations: 1.166 MB / 1.129 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/1.032, allocations: 336.2 kB / 1.13 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.032, allocations: 32.28 kB / 1.13 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.033, allocations: 362.8 kB / 1.13 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/1.035, allocations: 0.7389 MB / 1.131 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/1.038, allocations: 1.229 MB / 1.132 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/1.041, allocations: 0.9246 MB / 1.133 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/1.041, allocations: 3.062 kB / 1.133 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007251/1.048, allocations: 2.308 MB / 1.135 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/1.049, allocations: 5.207 MB / 1.14 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-05/1.05, allocations: 17.27 kB / 1.14 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.584e-05/1.05, allocations: 20.78 kB / 1.14 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.052, allocations: 364.8 kB / 1.141 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.82e-05/1.052, allocations: 32.27 kB / 1.141 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/1.056, allocations: 362.5 kB / 1.141 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/1.056, allocations: 90.39 kB / 1.141 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.056, allocations: 3.469 kB / 1.141 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006683/1.063, allocations: 2.107 MB / 1.143 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/1.063, allocations: 17.73 kB / 1.143 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.063, allocations: 21.44 kB / 1.143 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.065, allocations: 364.7 kB / 1.143 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-05/1.065, allocations: 28.3 kB / 1.144 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003868/1.069, allocations: 356.8 kB / 1.144 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004985/1.07, allocations: 89.97 kB / 1.144 GB, free: 2.996 MB / 0.6823 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.001853/1.072, allocations: 0.6378 MB / 1.145 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006843/1.072, allocations: 243.4 kB / 1.145 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/1.078, allocations: 1.794 MB / 1.147 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/1.078, allocations: 13.58 kB / 1.147 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.235e-06/1.078, allocations: 0 / 1.147 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003641/1.081, allocations: 1.334 MB / 1.148 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009542/1.091, allocations: 3.728 MB / 1.151 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.091, allocations: 7.109 kB / 1.152 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.093, allocations: 238.9 kB / 1.152 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/1.093, allocations: 6.531 kB / 1.152 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.093, allocations: 28.14 kB / 1.152 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/1.093, allocations: 9.297 kB / 1.152 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.844e-06/1.093, allocations: 4.562 kB / 1.152 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/1.1, allocations: 2.607 MB / 1.154 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.102, allocations: 0.4981 MB / 1.155 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/1.103, allocations: 26.61 kB / 1.155 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.105, allocations: 181.3 kB / 1.155 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005257/1.106, allocations: 89.55 kB / 1.155 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004393/1.106, allocations: 53.92 kB / 1.155 GB, free: 13.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007937/1.114, allocations: 1.581 MB / 1.157 GB, free: 12.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.799e-06/1.114, allocations: 0 / 1.157 GB, free: 12.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01194/1.126, allocations: 1.375 MB / 1.158 GB, free: 12.44 MB / 0.698 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.01608/1.142, allocations: 0.6923 MB / 1.159 GB, free: 11.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04082/1.183, allocations: 3.3 MB / 1.162 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-05/1.183, allocations: 4 kB / 1.162 GB, free: 8.598 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004931/1.188, allocations: 0.7093 MB / 1.163 GB, free: 7.914 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01419/1.203, allocations: 1.105 MB / 1.164 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.22, allocations: 5.017 MB / 1.169 GB, free: 1.773 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/1.222, allocations: 1.705 MB / 1.17 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004367/1.227, allocations: 0.602 MB / 1.171 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009928/1.228, allocations: 191.3 kB / 1.171 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.486e-06/1.228, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.1393/1.367, allocations: 50 MB / 1.22 GB, free: 13.96 MB / 0.7605 GB