Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.454/2.454, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 183.2 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.652/2.652, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 89.94 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 15.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.1101/0.3209, allocations: 75.17 MB / 0.9723 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.051/0.3719, allocations: 21.83 MB / 0.9936 GB, free: 256 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004519/0.3765, allocations: 83.44 kB / 0.9937 GB, free: 172 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007897/0.3845, allocations: 1.54 MB / 0.9952 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01666/0.4012, allocations: 3.545 MB / 0.9986 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01639/0.4176, allocations: 3.493 MB / 1.002 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01279/0.4304, allocations: 3.991 MB / 1.006 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.4352, allocations: 1.774 MB / 1.008 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006676/0.4419, allocations: 1.876 MB / 1.01 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.4459, allocations: 1.365 MB / 1.011 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009614/0.4469, allocations: 108 kB / 1.011 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007128/0.4541, allocations: 1.689 MB / 1.013 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.4558, allocations: 0.576 MB / 1.013 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.4573, allocations: 0.5666 MB / 1.014 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.008702/0.4661, allocations: 3.546 MB / 1.017 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4661, allocations: 0 / 1.017 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4661, allocations: 0 / 1.017 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000139/0.4663, allocations: 0 / 1.017 GB, free: 8.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.01086/0.4772, allocations: 2.966 MB / 1.02 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.4772, allocations: 12.03 kB / 1.02 GB, free: 5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.4829, allocations: 0.7029 MB / 1.021 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00746/0.4904, allocations: 2.172 MB / 1.023 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001519/0.492, allocations: 330.3 kB / 1.023 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/0.4928, allocations: 175.9 kB / 1.023 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008122/0.5009, allocations: 2.11 MB / 1.025 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.605e-05/0.5011, allocations: 3.984 kB / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/0.5014, allocations: 71.98 kB / 1.026 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/0.5015, allocations: 40 kB / 1.026 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009608/0.5111, allocations: 2.006 MB / 1.028 GB, free: 13.21 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.02325/0.5344, allocations: 9.276 MB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006161/0.5406, allocations: 1.314 MB / 1.038 GB, free: 2 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 evalFunc (simulation): time 0.01796/0.5586, allocations: 4.119 MB / 1.042 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003741/0.5624, allocations: 0.8755 MB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001468/0.5639, allocations: 206.7 kB / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 6.191e-06/0.564, allocations: 0 / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.01035/0.5743, allocations: 2.145 MB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5745, allocations: 175.2 kB / 1.045 GB, free: 10.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005072/0.5796, allocations: 2.157 MB / 1.047 GB, free: 7.914 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.58, allocations: 53.7 kB / 1.047 GB, free: 7.855 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.5815, allocations: 1.137 MB / 1.048 GB, free: 6.703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/0.5822, allocations: 366.9 kB / 1.049 GB, free: 6.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.5824, allocations: 24 kB / 1.049 GB, free: 6.316 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5826, allocations: 369.9 kB / 1.049 GB, free: 5.949 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.5862, allocations: 0.73 MB / 1.05 GB, free: 5.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004219/0.5904, allocations: 1.154 MB / 1.051 GB, free: 3.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/0.5945, allocations: 0.8026 MB / 1.052 GB, free: 3.082 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.5946, allocations: 4 kB / 1.052 GB, free: 3.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009652/0.6042, allocations: 2.099 MB / 1.054 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.6117/1.216, allocations: 4.109 MB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-05/1.216, allocations: 12.36 kB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.981e-05/1.216, allocations: 17.47 kB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.22, allocations: 417.4 kB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-05/1.22, allocations: 23.98 kB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.224, allocations: 284 kB / 1.059 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004727/1.225, allocations: 72.44 kB / 1.059 GB, free: 143 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.225, allocations: 2.656 kB / 1.059 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008577/1.234, allocations: 1.858 MB / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/1.234, allocations: 11.25 kB / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.234, allocations: 22 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/1.237, allocations: 414.4 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.882e-05/1.237, allocations: 24.7 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/1.241, allocations: 256 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004997/1.242, allocations: 70.12 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.TSouEnt.T_start,TSouEnt.T_start,$PRE.TSouEnt.count,TSouEnt.count,$PRE.TLoaSet.T_start,TLoaSet.T_start,$PRE.TLoaSet.count,TLoaSet.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 2 * Algorithm blocks: 0 * 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.001823/1.244, allocations: 0.6145 MB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/1.245, allocations: 234.5 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008612/1.253, allocations: 1.963 MB / 1.064 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/1.253, allocations: 13.05 kB / 1.064 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.253, allocations: 0 / 1.064 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007242/1.261, allocations: 1.495 MB / 1.065 GB, free: 142.5 MB / 0.698 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.01518/1.276, allocations: 3.966 MB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.276, allocations: 2.25 kB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/1.279, allocations: 272.8 kB / 1.07 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.754e-05/1.279, allocations: 7.594 kB / 1.07 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/1.279, allocations: 40.84 kB / 1.07 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/1.279, allocations: 9.875 kB / 1.07 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.279, allocations: 2.812 kB / 1.07 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.291, allocations: 2.831 MB / 1.072 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.293, allocations: 0.4895 MB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008849/1.294, allocations: 22.95 kB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00412/1.298, allocations: 243.7 kB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/1.299, allocations: 118.9 kB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/1.299, allocations: 52.62 kB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004638/1.304, allocations: 1.48 MB / 1.075 GB, free: 141 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.01e-07/1.304, allocations: 1 kB / 1.075 GB, free: 141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006383/1.31, allocations: 1.313 MB / 1.076 GB, free: 140.9 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,reaToInt.y,uMod.T_start,uMod.count,pulse.T_start,pulse.count,TSouEnt.T_start,TSouEnt.count,TLoaSet.T_start,TLoaSet.count) * Number of discrete states: 4 (uMod.count,pulse.count,TSouEnt.count,TLoaSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.00259/1.313, allocations: 0.6807 MB / 1.077 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.325, allocations: 2.769 MB / 1.079 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.325, allocations: 0 / 1.079 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003858/1.329, allocations: 0.8508 MB / 1.08 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008552/1.338, allocations: 1.027 MB / 1.081 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.351, allocations: 4.952 MB / 1.086 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.352, allocations: 1.689 MB / 1.088 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004671/1.357, allocations: 0.5794 MB / 1.088 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.358, allocations: 189.2 kB / 1.088 GB, free: 135.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.358, allocations: 0 / 1.088 GB, free: 135.4 MB / 0.698 GB Notification: Performance of Templates: time 0.1049/1.463, allocations: 44.18 MB / 1.132 GB, free: 93.72 MB / 0.698 GB