Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.00105/0.001051, allocations: 172.9 kB / 366.7 MB, free: 1.707 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.901/1.901, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008392/0.0008392, allocations: 83.36 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.581e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7307, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.9365, allocations: 142.7 MB / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.9368, allocations: 83.94 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02147/0.9583, allocations: 7.762 MB / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9584, allocations: 0 / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.9584, allocations: 4 kB / 1.12 GB, free: 15.55 MB / 0.7292 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.001255/0.9596, allocations: 0.6109 MB / 1.121 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.9597, allocations: 12.03 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008279/0.9605, allocations: 147.4 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.9613, allocations: 347.7 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.9614, allocations: 71.62 kB / 1.122 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.9615, allocations: 8 kB / 1.122 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005844/0.9621, allocations: 319.3 kB / 1.122 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.9625, allocations: 224.8 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9625, allocations: 0 / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.9626, allocations: 0 / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.9626, allocations: 4 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.9644, allocations: 0.8358 MB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.9647, allocations: 218.5 kB / 1.123 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.965, allocations: 156.8 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.965, allocations: 7.938 kB / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.9651, allocations: 30.56 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 3.376e-06/0.9651, allocations: 3.984 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007085/0.9658, allocations: 351 kB / 1.124 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.9658, allocations: 55.41 kB / 1.124 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.9663, allocations: 346.3 kB / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.9664, allocations: 25.7 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.9665, allocations: 176.4 kB / 1.124 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.9666, allocations: 59.16 kB / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.9667, allocations: 0 / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9668, allocations: 346.8 kB / 1.125 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.9671, allocations: 140 kB / 1.125 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.9673, allocations: 175.4 kB / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.9676, allocations: 129 kB / 1.125 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9676, allocations: 0 / 1.125 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005961/0.9682, allocations: 354.8 kB / 1.125 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9682, allocations: 5.875 kB / 1.125 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9682, allocations: 4 kB / 1.125 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9682, allocations: 0 / 1.125 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.9687, allocations: 79.86 kB / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.9688, allocations: 0 / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.9691, allocations: 47.89 kB / 1.125 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.9691, allocations: 7.984 kB / 1.125 GB, free: 10.12 MB / 0.7292 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.0001277/0.9693, allocations: 101 kB / 1.126 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005801/0.9699, allocations: 353 kB / 1.126 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.97, allocations: 31.62 kB / 1.126 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.9701, allocations: 39.25 kB / 1.126 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.9701, allocations: 11.88 kB / 1.126 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.9701, allocations: 4 kB / 1.126 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9701, allocations: 3.984 kB / 1.126 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.9707, allocations: 439.7 kB / 1.126 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9707, allocations: 0 / 1.126 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.9711, allocations: 71.92 kB / 1.126 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.9712, allocations: 4 kB / 1.126 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.9712, allocations: 7.984 kB / 1.127 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.9712, allocations: 0 / 1.127 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9712, allocations: 3.562 kB / 1.127 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.9718, allocations: 456.7 kB / 1.127 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.972, allocations: 112.7 kB / 1.127 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.972, allocations: 3.938 kB / 1.127 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.9724, allocations: 43.94 kB / 1.127 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.9725, allocations: 23.97 kB / 1.127 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.9725, allocations: 11.98 kB / 1.127 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003231/0.9729, allocations: 268.6 kB / 1.127 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9729, allocations: 0 / 1.127 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003737/0.9732, allocations: 71.83 kB / 1.127 GB, free: 8.023 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.001184/0.9744, allocations: 1.092 MB / 1.129 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005942/0.975, allocations: 323.8 kB / 1.129 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9751, allocations: 0 / 1.129 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.9753, allocations: 171.9 kB / 1.129 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.9757, allocations: 45.31 kB / 1.129 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.9769, allocations: 0.5203 MB / 1.13 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.9774, allocations: 0.799 MB / 1.13 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.9777, allocations: 62.03 kB / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.9779, allocations: 99.39 kB / 1.13 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.978, allocations: 4 kB / 1.13 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/1.006, allocations: 7.027 MB / 1.137 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.006, allocations: 160.4 kB / 1.138 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.254, allocations: 0 / 1.138 GB, free: 13.77 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)