Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 176.9 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 94.53 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.124e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7602/0.98, allocations: 136.3 MB / 1.018 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.9803, allocations: 89.88 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02088/1.001, allocations: 7.878 MB / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.353e-06/1.001, allocations: 0 / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.001, allocations: 4 kB / 1.026 GB, free: 10.67 MB / 0.6511 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.0009348/1.002, allocations: 0.6128 MB / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.002, allocations: 8.031 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/1.003, allocations: 147 kB / 1.027 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/1.004, allocations: 347.5 kB / 1.027 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.004, allocations: 75.62 kB / 1.027 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/1.004, allocations: 15.92 kB / 1.027 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005002/1.004, allocations: 312 kB / 1.028 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/1.005, allocations: 228.6 kB / 1.028 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.005, allocations: 4 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/1.005, allocations: 3.938 kB / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.005, allocations: 0 / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/1.006, allocations: 0.8261 MB / 1.029 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/1.007, allocations: 212.5 kB / 1.029 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/1.007, allocations: 160.6 kB / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/1.007, allocations: 0 / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/1.007, allocations: 37.81 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/1.007, allocations: 0 / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006235/1.007, allocations: 346.7 kB / 1.029 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.008, allocations: 59.41 kB / 1.029 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/1.008, allocations: 349.5 kB / 1.03 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.008, allocations: 29.64 kB / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.008, allocations: 183 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/1.008, allocations: 57.97 kB / 1.03 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/1.008, allocations: 0 / 1.03 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.008, allocations: 340.1 kB / 1.03 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.009, allocations: 141 kB / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/1.009, allocations: 177.2 kB / 1.031 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/1.009, allocations: 126 kB / 1.031 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/1.009, allocations: 0 / 1.031 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000513/1.01, allocations: 355.3 kB / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.01, allocations: 4 kB / 1.031 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.01, allocations: 3.984 kB / 1.031 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.01, allocations: 0 / 1.031 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/1.01, allocations: 75.86 kB / 1.031 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.01, allocations: 4 kB / 1.031 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/1.01, allocations: 47.8 kB / 1.031 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/1.01, allocations: 11.61 kB / 1.031 GB, free: 6.391 MB / 0.6511 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.0001059/1.011, allocations: 108.9 kB / 1.031 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005124/1.011, allocations: 347.8 kB / 1.032 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/1.011, allocations: 35.53 kB / 1.032 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/1.011, allocations: 36.44 kB / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.011, allocations: 0 / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.011, allocations: 0 / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.011, allocations: 7.984 kB / 1.032 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/1.012, allocations: 451.2 kB / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.012, allocations: 0 / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/1.012, allocations: 75.86 kB / 1.032 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.012, allocations: 3.938 kB / 1.032 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.012, allocations: 3.984 kB / 1.032 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.012, allocations: 0 / 1.032 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.012, allocations: 8 kB / 1.032 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/1.013, allocations: 449.3 kB / 1.033 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.013, allocations: 112.1 kB / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/1.013, allocations: 0 / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/1.013, allocations: 47.94 kB / 1.033 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/1.014, allocations: 26.97 kB / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/1.014, allocations: 7.984 kB / 1.033 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002823/1.014, allocations: 270.6 kB / 1.033 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.014, allocations: 0 / 1.033 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003643/1.014, allocations: 71.11 kB / 1.033 GB, free: 4.695 MB / 0.6511 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.001085/1.015, allocations: 1.1 MB / 1.034 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000504/1.016, allocations: 323.3 kB / 1.035 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.016, allocations: 0 / 1.035 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/1.016, allocations: 180.7 kB / 1.035 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/1.016, allocations: 39.27 kB / 1.035 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.018, allocations: 0.5282 MB / 1.035 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.018, allocations: 0.8056 MB / 1.036 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002906/1.018, allocations: 58.06 kB / 1.036 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.019, allocations: 104.2 kB / 1.036 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.019, allocations: 0 / 1.036 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/1.048, allocations: 7.221 MB / 1.043 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.049, allocations: 174.8 kB / 1.044 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/3.087, allocations: 0 / 1.044 GB, free: 10.63 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)