Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.373/2.373, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 191.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001009, allocations: 114.1 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 52.94 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2418, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003184/0.2451, allocations: 2.422 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2467, allocations: 1.383 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.2469, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.2476, allocations: 195 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2477, allocations: 67.47 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.248, allocations: 99.83 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2483, allocations: 318.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2485, allocations: 44.73 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.2487, allocations: 127.5 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.2489, allocations: 179.4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.249, allocations: 20 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2491, allocations: 55.97 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.2492, allocations: 107.6 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.2493, allocations: 171.1 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.2497, allocations: 488.5 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2497, allocations: 3.938 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2497, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2497, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 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.2509, allocations: 0.7056 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.251, allocations: 11.98 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.2518, allocations: 148.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.2522, allocations: 346.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.2523, allocations: 84.19 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2523, allocations: 16.31 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.2529, allocations: 302 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.253, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.253, allocations: 11.98 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.253, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.254, allocations: 416.4 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2554, allocations: 0.8558 MB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.256, allocations: 274.4 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.2565, allocations: 216.7 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.2565, allocations: 7.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.2566, allocations: 42.5 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.2566, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.001543/0.2581, allocations: 0.6467 MB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.2581, allocations: 59.34 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.2585, allocations: 425.6 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2585, allocations: 25.7 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2586, allocations: 184 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2587, allocations: 59.2 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.2588, allocations: 37.7 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.2588, allocations: 346.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.2593, allocations: 191.8 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.2598, allocations: 236.1 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008716/0.2607, allocations: 374.9 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2607, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001025/0.2617, allocations: 460.9 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2618, allocations: 9.094 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2618, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2618, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.2622, allocations: 55.88 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2622, allocations: 11.92 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.2626, allocations: 43.73 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.2626, allocations: 8 kB / 1.23 GB, free: 104.8 MB / 0.823 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.0001392/0.2628, allocations: 170.5 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.2628, allocations: 35.53 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.188e-05/0.2629, allocations: 43.58 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2629, allocations: 4 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2629, allocations: 3.938 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.2629, allocations: 0 / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.2633, allocations: 470.8 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2633, allocations: 0 / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.2637, allocations: 67.86 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2637, allocations: 0 / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.2638, allocations: 11.98 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2638, allocations: 0 / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2638, allocations: 3.938 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.2655, allocations: 1.438 MB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.2656, allocations: 112.7 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.2656, allocations: 12 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.2659, allocations: 31.95 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.266, allocations: 23.95 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.2661, allocations: 4 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002279/0.2663, allocations: 311.1 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2663, allocations: 3.938 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004067/0.2667, allocations: 67.91 kB / 1.233 GB, free: 101.9 MB / 0.823 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.0001197/0.2669, allocations: 103.2 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.2679, allocations: 433.1 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2679, allocations: 7.938 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.2684, allocations: 223.8 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2689, allocations: 61.44 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.27, allocations: 0.9131 MB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.2702, allocations: 0.7951 MB / 1.235 GB, free: 99.27 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.2705, allocations: 58.27 kB / 1.235 GB, free: 99.21 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2706, allocations: 27.42 kB / 1.235 GB, free: 99.18 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/0.2707, allocations: 0 / 1.235 GB, free: 99.18 MB / 0.823 GB Notification: Performance of Templates: time 0.006287/0.2769, allocations: 4.205 MB / 1.239 GB, free: 95.03 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)