Running: ./testmodel.py --libraries=/home/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 (/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 248.7 MB / 256.2 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 186.3 kB / 315.4 MB, free: 3.977 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.13/2.13, allocations: 205.3 MB / 0.5662 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 82.56 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.012e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2556, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.035/2.291, allocations: 466.7 MB / 1.34 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/2.291, allocations: 88.33 kB / 1.34 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.293/7.584, allocations: 0.9668 GB / 2.307 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.783e-06/7.584, allocations: 2.75 kB / 2.307 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004516/7.584, allocations: 67.86 kB / 2.307 GB, free: 111.7 MB / 0.8855 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.01073/7.595, allocations: 2.748 MB / 2.31 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/7.595, allocations: 15.22 kB / 2.31 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/7.601, allocations: 0.6477 MB / 2.31 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/7.612, allocations: 2.958 MB / 2.313 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/7.613, allocations: 267.3 kB / 2.313 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007086/7.614, allocations: 103.6 kB / 2.313 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004966/7.619, allocations: 1.528 MB / 2.315 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004959/7.624, allocations: 1.659 MB / 2.317 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/7.624, allocations: 2.812 kB / 2.317 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/7.624, allocations: 7.047 kB / 2.317 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-05/7.625, allocations: 50.97 kB / 2.317 GB, free: 109.7 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.02081/7.645, allocations: 9.309 MB / 2.326 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/7.648, allocations: 0.9356 MB / 2.327 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/7.649, allocations: 0.5693 MB / 2.327 GB, free: 105 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01092/7.66, allocations: 4.006 MB / 2.331 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/7.662, allocations: 0.7281 MB / 2.332 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001586/7.663, allocations: 158.9 kB / 2.332 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=96): time 6.733e-06/7.663, allocations: 0 / 2.332 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=96): time 0.004651/7.668, allocations: 1.255 MB / 2.333 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/7.668, allocations: 199.5 kB / 2.333 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/7.672, allocations: 1.768 MB / 2.335 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004235/7.673, allocations: 29.52 kB / 2.335 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/7.674, allocations: 1.157 MB / 2.336 GB, free: 102 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/7.674, allocations: 318.4 kB / 2.337 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/7.675, allocations: 0 / 2.337 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001133/7.675, allocations: 359.6 kB / 2.337 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/7.676, allocations: 0.5271 MB / 2.337 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/7.678, allocations: 0.995 MB / 2.338 GB, free: 101 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/7.68, allocations: 0.6901 MB / 2.339 GB, free: 101 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/7.68, allocations: 3.125 kB / 2.339 GB, free: 101 MB / 0.8855 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005842/7.686, allocations: 1.685 MB / 2.341 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009205/7.687, allocations: 4.198 MB / 2.345 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.539e-05/7.687, allocations: 11.25 kB / 2.345 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.144e-05/7.687, allocations: 19.31 kB / 2.345 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/7.691, allocations: 413.4 kB / 2.345 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/7.691, allocations: 21.53 kB / 2.345 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/7.695, allocations: 254.2 kB / 2.345 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/7.696, allocations: 76.11 kB / 2.346 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/7.696, allocations: 8.594 kB / 2.346 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004706/7.7, allocations: 1.4 MB / 2.347 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/7.701, allocations: 10.47 kB / 2.347 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/7.701, allocations: 17.62 kB / 2.347 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/7.704, allocations: 407.6 kB / 2.347 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.46e-05/7.704, allocations: 26.31 kB / 2.347 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/7.708, allocations: 237.7 kB / 2.348 GB, free: 96.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/7.709, allocations: 70.42 kB / 2.348 GB, free: 96.28 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,heaPum.uMod,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.0005755/7.709, allocations: 150.7 kB / 2.348 GB, free: 96.16 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004275/7.713, allocations: 1.218 MB / 2.349 GB, free: 96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006895/7.714, allocations: 229.2 kB / 2.349 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/7.719, allocations: 1.473 MB / 2.351 GB, free: 95.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/7.719, allocations: 19.27 kB / 2.351 GB, free: 95.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/7.719, allocations: 0 / 2.351 GB, free: 95.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003132/7.722, allocations: 1.172 MB / 2.352 GB, free: 95.59 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.009826/7.732, allocations: 3.447 MB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/7.732, allocations: 3.688 kB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/7.734, allocations: 274.3 kB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-05/7.735, allocations: 6.562 kB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/7.735, allocations: 18.14 kB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/7.735, allocations: 7.469 kB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/7.735, allocations: 5.5 kB / 2.355 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/7.74, allocations: 2.238 MB / 2.358 GB, free: 94.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/7.742, allocations: 499.3 kB / 2.358 GB, free: 94.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006296/7.743, allocations: 3.906 kB / 2.358 GB, free: 94.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003668/7.747, allocations: 213.6 kB / 2.358 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/7.747, allocations: 111 kB / 2.358 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/7.747, allocations: 50.5 kB / 2.358 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003108/7.75, allocations: 1.322 MB / 2.36 GB, free: 94.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/7.751, allocations: 1.688 kB / 2.36 GB, free: 94.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007127/7.758, allocations: 1.38 MB / 2.361 GB, free: 94.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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,heaPum.uMod,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 91 * 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.009517/7.767, allocations: 4.344 MB / 2.365 GB, free: 92.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005515/7.773, allocations: 2.203 MB / 2.368 GB, free: 92.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/7.773, allocations: 0 / 2.368 GB, free: 92.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/7.775, allocations: 0.6334 MB / 2.368 GB, free: 92.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008182/7.783, allocations: 0.9512 MB / 2.369 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/7.795, allocations: 3.651 MB / 2.373 GB, free: 91.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/7.797, allocations: 1.686 MB / 2.374 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006522/7.803, allocations: 0.8006 MB / 2.375 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/7.805, allocations: 0.9791 MB / 2.376 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/7.805, allocations: 0 / 2.376 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/7.984, allocations: 68.44 MB / 2.443 GB, free: 87.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/7.984, allocations: 204.2 kB / 2.443 GB, free: 87 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.96/13.94, allocations: 2.812 kB / 2.443 GB, free: 87 MB / 0.8855 GB