Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001116/0.001116, allocations: 98.03 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.009578/0.009578, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 11.19 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3364, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002803/0.3393, allocations: 2.072 MB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3413, allocations: 1.375 MB / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.3415, allocations: 3.938 kB / 1.078 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.3421, allocations: 195.1 kB / 1.078 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3422, allocations: 63.47 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3426, allocations: 111.8 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3429, allocations: 322.7 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.343, allocations: 36.73 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3433, allocations: 115.5 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.3435, allocations: 179.3 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.3436, allocations: 20 kB / 1.079 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3437, allocations: 55.95 kB / 1.079 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3439, allocations: 107.6 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.344, allocations: 192.8 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.3445, allocations: 462.7 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3445, allocations: 0 / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3445, allocations: 0 / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3445, allocations: 0 / 1.079 GB, free: 2.227 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.001197/0.3457, allocations: 0.6695 MB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3458, allocations: 8.031 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009408/0.3467, allocations: 172.3 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.3472, allocations: 354.3 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.3473, allocations: 92.17 kB / 1.081 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.3474, allocations: 12.38 kB / 1.081 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.3482, allocations: 319.4 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3482, allocations: 0 / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3483, allocations: 7.938 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3483, allocations: 7.984 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3495, allocations: 460.4 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.3512, allocations: 0.8744 MB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.3519, allocations: 290.4 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.3525, allocations: 240.7 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.3525, allocations: 8 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3526, allocations: 38.55 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.3526, allocations: 0 / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001954/0.3545, allocations: 0.7094 MB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3546, allocations: 59.34 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.3551, allocations: 425.6 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.3551, allocations: 25.7 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3553, allocations: 187.9 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.3553, allocations: 59.19 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.3554, allocations: 21.72 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3555, allocations: 346.8 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.3561, allocations: 223.8 kB / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.3568, allocations: 256.4 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.3579, allocations: 409.7 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3579, allocations: 0 / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001296/0.3592, allocations: 0.4988 MB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3592, allocations: 4 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3592, allocations: 3.984 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3592, allocations: 4 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.3598, allocations: 71.88 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3598, allocations: 3.938 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.3601, allocations: 51.84 kB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.3602, allocations: 8 kB / 1.086 GB, free: 11.16 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.0002018/0.3604, allocations: 161.8 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.3605, allocations: 43.47 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.3606, allocations: 39.59 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3606, allocations: 4 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.3606, allocations: 3.938 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3606, allocations: 3.984 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.3612, allocations: 470.8 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3612, allocations: 4 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.3616, allocations: 71.92 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3616, allocations: 7.938 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3617, allocations: 7.984 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3617, allocations: 0 / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3617, allocations: 3.938 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.363, allocations: 0.598 MB / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3631, allocations: 120.7 kB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.3632, allocations: 4 kB / 1.087 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.3636, allocations: 39.95 kB / 1.087 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3637, allocations: 31.95 kB / 1.088 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3637, allocations: 11.97 kB / 1.088 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003346/0.3641, allocations: 311.1 kB / 1.088 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3641, allocations: 0 / 1.088 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003344/0.3644, allocations: 63.91 kB / 1.088 GB, free: 9.086 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.0001496/0.3646, allocations: 103.2 kB / 1.088 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.3658, allocations: 475.6 kB / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3659, allocations: 0 / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006278/0.3665, allocations: 251.8 kB / 1.089 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3669, allocations: 50.05 kB / 1.089 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3683, allocations: 0.801 MB / 1.09 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3687, allocations: 0.7911 MB / 1.09 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002668/0.369, allocations: 58.27 kB / 1.09 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3691, allocations: 27.42 kB / 1.09 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3691, allocations: 0 / 1.09 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of Templates: time 0.008255/0.3774, allocations: 3.987 MB / 1.094 GB, free: 2.551 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)