Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 184.8 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009038/0.0009041, allocations: 91.91 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.402e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7145, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.9159, allocations: 141.5 MB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.9162, allocations: 82.17 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0209/0.9371, allocations: 7.844 MB / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9372, allocations: 4 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.9372, allocations: 4 kB / 1.11 GB, free: 6.332 MB / 0.7136 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.001074/0.9383, allocations: 0.6147 MB / 1.111 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.9383, allocations: 12.03 kB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.9391, allocations: 144.4 kB / 1.111 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.9398, allocations: 347.7 kB / 1.111 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.9399, allocations: 75.62 kB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.9399, allocations: 8 kB / 1.112 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000534/0.9405, allocations: 312.4 kB / 1.112 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.9409, allocations: 227.2 kB / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9409, allocations: 0 / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.9409, allocations: 0 / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9409, allocations: 7.984 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.9425, allocations: 0.8189 MB / 1.113 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.9428, allocations: 222.4 kB / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.9431, allocations: 167.7 kB / 1.113 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.9431, allocations: 0 / 1.113 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.9431, allocations: 30.56 kB / 1.113 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.9431, allocations: 0 / 1.113 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006157/0.9438, allocations: 346 kB / 1.114 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.9438, allocations: 55.41 kB / 1.114 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.9442, allocations: 346.3 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.9442, allocations: 29.7 kB / 1.114 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.9444, allocations: 180.4 kB / 1.114 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.9445, allocations: 55.16 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.9445, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9446, allocations: 346.8 kB / 1.115 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.9448, allocations: 140 kB / 1.115 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.9451, allocations: 176.6 kB / 1.115 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.9453, allocations: 127.9 kB / 1.115 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9453, allocations: 0 / 1.115 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005491/0.9458, allocations: 354.4 kB / 1.115 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9459, allocations: 8 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.9459, allocations: 0 / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.9459, allocations: 0 / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.9464, allocations: 79.86 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.9464, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.9468, allocations: 43.89 kB / 1.115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.9468, allocations: 7.984 kB / 1.115 GB, free: 0.9219 MB / 0.7136 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 (equFit.uMod) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.9469, allocations: 111.1 kB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005373/0.9475, allocations: 359.1 kB / 1.116 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.9475, allocations: 31.62 kB / 1.116 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.9476, allocations: 43.19 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9476, allocations: 0 / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9476, allocations: 0 / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9477, allocations: 3.984 kB / 1.116 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.9482, allocations: 445.4 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9482, allocations: 2.438 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.9486, allocations: 75.92 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9486, allocations: 4 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.9487, allocations: 3.984 kB / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9487, allocations: 0 / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.9487, allocations: 0 / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.9493, allocations: 454.8 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.9494, allocations: 116.7 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.9494, allocations: 0 / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.9498, allocations: 35.95 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.9499, allocations: 31.95 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.9499, allocations: 11.98 kB / 1.117 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002735/0.9502, allocations: 268.6 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9502, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003952/0.9506, allocations: 79.83 kB / 1.117 GB, free: 14.82 MB / 0.7292 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 (equFit.uMod) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.9517, allocations: 1.109 MB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.9522, allocations: 323.8 kB / 1.119 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.9523, allocations: 4 kB / 1.119 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.9525, allocations: 171.9 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.9529, allocations: 46.56 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9541, allocations: 0.5203 MB / 1.12 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.9544, allocations: 0.8028 MB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003442/0.9548, allocations: 62.03 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.955, allocations: 107.4 kB / 1.121 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/0.955, allocations: 0 / 1.121 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.9844, allocations: 7.214 MB / 1.128 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.9847, allocations: 172.3 kB / 1.128 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.093, allocations: 0 / 1.128 GB, free: 4.344 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)