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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001203/0.001203, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.39/1.39, 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.95/2.95, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 66.84 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3545, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003597/0.3581, allocations: 2.421 MB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3601, allocations: 1.402 MB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3602, allocations: 0 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.3608, allocations: 191 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.361, allocations: 67.47 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3613, allocations: 107.8 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.3616, allocations: 322.7 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3617, allocations: 40.73 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3619, allocations: 131.5 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3622, allocations: 179.3 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.3622, allocations: 20 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3624, allocations: 59.95 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3625, allocations: 107.7 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3627, allocations: 167.1 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.3632, allocations: 482.7 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3632, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3633, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3633, allocations: 0 / 1.073 GB, free: 5.191 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.001326/0.3646, allocations: 0.7043 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3646, allocations: 8.031 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/0.3656, allocations: 144.3 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.366, allocations: 354.2 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3661, allocations: 84.19 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.3662, allocations: 12.38 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.3669, allocations: 307.4 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.367, allocations: 3.938 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.367, allocations: 4 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.367, allocations: 4 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.3681, allocations: 412.4 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3697, allocations: 0.8627 MB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.3704, allocations: 278.3 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.3709, allocations: 212.7 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.371, allocations: 7.984 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.371, allocations: 34.56 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.371, allocations: 0 / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001766/0.3728, allocations: 0.655 MB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3728, allocations: 59.34 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.3733, allocations: 421.6 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3733, allocations: 29.7 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3735, allocations: 180 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.3735, allocations: 63.09 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3737, allocations: 41.7 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3738, allocations: 346.8 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.3744, allocations: 195.8 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.3749, allocations: 232.7 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/0.3759, allocations: 370.4 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3759, allocations: 4 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001193/0.3771, allocations: 464.9 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3772, allocations: 9.5 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3772, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3772, allocations: 4 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.3777, allocations: 63.92 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3778, allocations: 3.938 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.3781, allocations: 39.86 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3781, allocations: 7.984 kB / 1.079 GB, free: 14.43 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.0001869/0.3783, allocations: 165.8 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.3784, allocations: 35.53 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.3785, allocations: 43.58 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3785, allocations: 0 / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3785, allocations: 7.938 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3785, allocations: 0 / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.379, allocations: 482.8 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.379, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.3795, allocations: 59.88 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3795, allocations: 4 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.3795, allocations: 7.984 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3796, allocations: 4 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3796, allocations: 3.938 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3807, allocations: 0.5418 MB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.3808, allocations: 120.6 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.3809, allocations: 4 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.3813, allocations: 31.95 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3814, allocations: 31.89 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3814, allocations: 4 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003096/0.3817, allocations: 315.1 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3817, allocations: 0 / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003322/0.3821, allocations: 60 kB / 1.081 GB, free: 12.43 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.000131/0.3822, allocations: 103.2 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.3834, allocations: 441.6 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3834, allocations: 0 / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.384, allocations: 223.8 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3844, allocations: 64.22 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3858, allocations: 0.7608 MB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3862, allocations: 0.795 MB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002874/0.3865, allocations: 66.3 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.3867, allocations: 27.42 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3867, allocations: 0 / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of Templates: time 0.007641/0.3943, allocations: 4.037 MB / 1.088 GB, free: 5.93 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)