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.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 190.2 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.81 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3809, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004299/0.3853, allocations: 2.385 MB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3876, allocations: 1.409 MB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.3878, allocations: 0 / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.3886, allocations: 198.9 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3888, allocations: 79.34 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.3892, allocations: 119.7 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.3897, allocations: 330.8 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3898, allocations: 52.7 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.39, allocations: 123.5 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.3903, allocations: 191.3 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.3904, allocations: 32 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.3906, allocations: 63.97 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.3907, allocations: 127.6 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3909, allocations: 175 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.3914, allocations: 486.8 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3915, allocations: 0 / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3915, allocations: 0 / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.3915, allocations: 0 / 1.074 GB, free: 4.648 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.001404/0.3929, allocations: 0.7004 MB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3929, allocations: 8.031 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/0.3938, allocations: 152.3 kB / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.3943, allocations: 350.2 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3944, allocations: 88.17 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.3945, allocations: 12.38 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.3952, allocations: 296.6 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3952, allocations: 0 / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.3953, allocations: 8 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3953, allocations: 7.922 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.3964, allocations: 416.4 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.3981, allocations: 0.8627 MB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.3988, allocations: 270.4 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.3994, allocations: 216.7 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3995, allocations: 4 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3995, allocations: 46.48 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3995, allocations: 0 / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001834/0.4013, allocations: 0.6433 MB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.4014, allocations: 59.34 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.4019, allocations: 425.6 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.4019, allocations: 25.7 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4021, allocations: 184 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.4021, allocations: 67.09 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.4022, allocations: 37.7 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4024, allocations: 346.8 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.403, allocations: 191.8 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.4036, allocations: 236.8 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.4046, allocations: 373.9 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4047, allocations: 0 / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/0.4059, allocations: 457 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4059, allocations: 9.25 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4059, allocations: 4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.406, allocations: 8.031 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.4065, allocations: 59.86 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4065, allocations: 7.938 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.4069, allocations: 39.84 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.4069, allocations: 4 kB / 1.08 GB, free: 13.89 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.0002089/0.4071, allocations: 170.3 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.4072, allocations: 35.53 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.4073, allocations: 39.59 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4073, allocations: 7.938 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4073, allocations: 3.938 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4073, allocations: 3.984 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.4079, allocations: 474.8 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4079, allocations: 0 / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.4084, allocations: 63.92 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4084, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.4085, allocations: 15.92 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4085, allocations: 0 / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4085, allocations: 3.938 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.4097, allocations: 0.5472 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4099, allocations: 124.6 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.41, allocations: 4 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.4103, allocations: 31.95 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4105, allocations: 27.91 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.4105, allocations: 11.98 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003638/0.4109, allocations: 303.1 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4109, allocations: 3.938 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003691/0.4113, allocations: 64 kB / 1.082 GB, free: 11.89 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.0001619/0.4114, allocations: 103.2 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.4127, allocations: 455.5 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4127, allocations: 0 / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.4133, allocations: 231.8 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4138, allocations: 48.36 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4152, allocations: 0.6772 MB / 1.083 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.4156, allocations: 0.7946 MB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.4159, allocations: 62.25 kB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.4161, allocations: 27.42 kB / 1.084 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.4161, allocations: 0 / 1.084 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of Templates: time 0.007853/0.4239, allocations: 4.259 MB / 1.088 GB, free: 5.25 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)