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.001985/0.001985, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002139/0.002139, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.17 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3326, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00369/0.3363, allocations: 2.426 MB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3383, allocations: 1.402 MB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.3385, allocations: 4 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.3391, allocations: 191 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.3392, allocations: 67.47 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3395, allocations: 99.84 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.3398, allocations: 322.7 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.34, allocations: 40.73 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3402, allocations: 127.5 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3404, allocations: 179.3 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.3405, allocations: 20 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3406, allocations: 55.97 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3407, allocations: 107.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3409, allocations: 179 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.3414, allocations: 470.8 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3414, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.82e-07/0.3414, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3414, allocations: 0 / 1.073 GB, free: 5.234 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.001299/0.3427, allocations: 0.7082 MB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3428, allocations: 8.031 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.3437, allocations: 152.3 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.3441, allocations: 350.2 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.3443, allocations: 88.12 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.3443, allocations: 12.38 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.3451, allocations: 299.4 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3451, allocations: 3.984 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.3451, allocations: 7.984 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3451, allocations: 4 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3463, allocations: 416.4 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3479, allocations: 0.8588 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.3486, allocations: 270.4 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.3492, allocations: 216.7 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.3492, allocations: 4 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3493, allocations: 38.5 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.3493, allocations: 4 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001805/0.3511, allocations: 0.6416 MB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3511, allocations: 59.34 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.3516, allocations: 425.6 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.3517, allocations: 29.64 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3518, allocations: 180 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.3519, allocations: 67.08 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.352, allocations: 41.7 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3522, allocations: 346.8 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.3528, allocations: 191.8 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.3533, allocations: 236.8 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009849/0.3543, allocations: 374.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3543, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001188/0.3555, allocations: 457 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3556, allocations: 8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3556, allocations: 3.984 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3556, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.3561, allocations: 59.88 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3561, allocations: 3.938 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.3564, allocations: 43.84 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3565, allocations: 4 kB / 1.079 GB, free: 14.48 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.0001973/0.3567, allocations: 169.8 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.3568, allocations: 35.53 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.3568, allocations: 39.59 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3569, allocations: 4 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3569, allocations: 3.938 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3569, allocations: 7.922 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3574, allocations: 470.8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3575, allocations: 3.938 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.3579, allocations: 67.86 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3579, allocations: 0 / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.358, allocations: 7.984 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.358, allocations: 8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.358, allocations: 3.938 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3592, allocations: 0.543 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3593, allocations: 124.6 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.3594, allocations: 3.938 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3597, allocations: 35.95 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3598, allocations: 27.91 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3599, allocations: 11.98 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003264/0.3602, allocations: 307.1 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3602, allocations: 0 / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003437/0.3606, allocations: 64 kB / 1.081 GB, free: 12.47 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.0001424/0.3607, allocations: 101.4 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.3619, allocations: 437.2 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3619, allocations: 4 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.3625, allocations: 231.8 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.363, allocations: 42.14 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3645, allocations: 0.7659 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3649, allocations: 0.7949 MB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003085/0.3652, allocations: 58.27 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.3654, allocations: 27.42 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3654, allocations: 3.938 kB / 1.084 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of Templates: time 0.008317/0.3737, allocations: 4.045 MB / 1.088 GB, free: 5.973 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)