Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009865/0.009865, allocations: 169.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 15.16 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002654/0.3504, allocations: 2.076 MB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3522, allocations: 1.375 MB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3524, allocations: 4 kB / 1.078 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.3529, allocations: 195 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3531, allocations: 71.41 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.3534, allocations: 99.83 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.3537, allocations: 322.8 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3538, allocations: 32.75 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.354, allocations: 119.5 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.3543, allocations: 187.3 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3543, allocations: 16 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3545, allocations: 59.94 kB / 1.079 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3546, allocations: 107.7 kB / 1.079 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3548, allocations: 180.8 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.3552, allocations: 466.6 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3552, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3552, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3553, allocations: 4 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001173/0.3564, allocations: 0.6656 MB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3565, allocations: 8.031 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.3575, allocations: 180.3 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.3579, allocations: 346.3 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.358, allocations: 88.19 kB / 1.081 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3581, allocations: 12.38 kB / 1.081 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.3589, allocations: 323.4 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3589, allocations: 11.86 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.359, allocations: 3.984 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.359, allocations: 4 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3603, allocations: 460.4 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.362, allocations: 0.8744 MB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.3627, allocations: 294.4 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.3633, allocations: 240.7 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.3633, allocations: 4 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3634, allocations: 30.56 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.3634, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.00193/0.3653, allocations: 0.7211 MB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3653, allocations: 55.34 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.3658, allocations: 421.6 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.3659, allocations: 33.7 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.366, allocations: 183.9 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.3661, allocations: 63.17 kB / 1.084 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.3662, allocations: 17.72 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3663, allocations: 350.8 kB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.3669, allocations: 219.8 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.3675, allocations: 252.8 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3687, allocations: 414.5 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3687, allocations: 3.938 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001506/0.3702, allocations: 0.4931 MB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3702, allocations: 11.98 kB / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3702, allocations: 0 / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3703, allocations: 0 / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3708, allocations: 67.94 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3708, allocations: 3.938 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.3711, allocations: 51.84 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3712, allocations: 8 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.3714, allocations: 169.8 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.3715, allocations: 35.53 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/0.3716, allocations: 43.59 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3716, allocations: 3.984 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3716, allocations: 3.938 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3716, allocations: 0 / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.3722, allocations: 474.8 kB / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3723, allocations: 0 / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.3727, allocations: 83.8 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3727, allocations: 0 / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3728, allocations: 7.984 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3728, allocations: 0 / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3728, allocations: 7.938 kB / 1.087 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3743, allocations: 0.5984 MB / 1.087 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.3744, allocations: 116.7 kB / 1.087 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.3745, allocations: 0 / 1.087 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.3748, allocations: 43.95 kB / 1.087 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3749, allocations: 27.89 kB / 1.088 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.375, allocations: 12 kB / 1.088 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003634/0.3753, allocations: 307.1 kB / 1.088 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3754, allocations: 0 / 1.088 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003257/0.3757, allocations: 67.91 kB / 1.088 GB, free: 9.129 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.376, allocations: 103.2 kB / 1.088 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.3772, allocations: 475.6 kB / 1.088 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3772, allocations: 0 / 1.088 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.3779, allocations: 253.3 kB / 1.089 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3783, allocations: 59 kB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3798, allocations: 0.7953 MB / 1.089 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.3804, allocations: 0.7911 MB / 1.09 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002752/0.3807, allocations: 62.27 kB / 1.09 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3809, allocations: 23.42 kB / 1.09 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of SimCode: time 8.42e-07/0.3809, allocations: 0 / 1.09 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.009205/0.3901, allocations: 3.989 MB / 1.094 GB, free: 2.59 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)