Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.503/2.503, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001557/0.001556, allocations: 192.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.00105/0.00105, allocations: 89.53 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.365e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8263, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.258/1.084, allocations: 141.4 MB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/1.085, allocations: 86.2 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03532/1.12, allocations: 7.83 MB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/1.12, allocations: 0 / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.12, allocations: 8 kB / 1.109 GB, free: 7.312 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.001568/1.122, allocations: 0.6253 MB / 1.11 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.122, allocations: 8.031 kB / 1.11 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.123, allocations: 155.3 kB / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/1.124, allocations: 339.8 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.124, allocations: 75.61 kB / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/1.124, allocations: 8 kB / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009153/1.125, allocations: 308.4 kB / 1.111 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/1.126, allocations: 231.1 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.126, allocations: 0 / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/1.126, allocations: 4 kB / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/1.126, allocations: 4 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/1.129, allocations: 0.8179 MB / 1.112 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/1.129, allocations: 222.4 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/1.13, allocations: 156.8 kB / 1.112 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/1.13, allocations: 7.984 kB / 1.112 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.13, allocations: 38.56 kB / 1.112 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.277e-06/1.13, allocations: 0 / 1.112 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001091/1.131, allocations: 346.4 kB / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.131, allocations: 55.34 kB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/1.132, allocations: 342.4 kB / 1.113 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/1.132, allocations: 25.7 kB / 1.113 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/1.132, allocations: 184.4 kB / 1.113 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/1.132, allocations: 51.17 kB / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/1.132, allocations: 0 / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.132, allocations: 350.8 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/1.133, allocations: 144 kB / 1.114 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/1.133, allocations: 168.5 kB / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/1.134, allocations: 130.1 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.134, allocations: 0 / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001026/1.135, allocations: 353 kB / 1.114 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.135, allocations: 4 kB / 1.114 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.135, allocations: 4 kB / 1.114 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.135, allocations: 7.938 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/1.136, allocations: 67.92 kB / 1.114 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.136, allocations: 2.969 kB / 1.114 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/1.136, allocations: 51.88 kB / 1.114 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/1.136, allocations: 8 kB / 1.114 GB, free: 1.887 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.0001606/1.137, allocations: 108.7 kB / 1.114 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001022/1.138, allocations: 355 kB / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.138, allocations: 31.62 kB / 1.115 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/1.138, allocations: 43.23 kB / 1.115 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.138, allocations: 7.656 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.138, allocations: 3.938 kB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.138, allocations: 0 / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/1.139, allocations: 452 kB / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.139, allocations: 0 / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/1.14, allocations: 75.86 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.14, allocations: 0 / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/1.14, allocations: 4 kB / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.14, allocations: 0 / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.14, allocations: 0 / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.141, allocations: 454.8 kB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.141, allocations: 104.7 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/1.141, allocations: 3.984 kB / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006753/1.142, allocations: 43.95 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.142, allocations: 27.95 kB / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/1.142, allocations: 4 kB / 1.116 GB, free: 132 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005046/1.142, allocations: 276.6 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.142, allocations: 0 / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005593/1.143, allocations: 79.84 kB / 1.116 GB, free: 15.79 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.001677/1.145, allocations: 1.1 MB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.146, allocations: 335.7 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.146, allocations: 0 / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000469/1.146, allocations: 171.9 kB / 1.118 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/1.147, allocations: 35.95 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/1.149, allocations: 0.5304 MB / 1.118 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/1.149, allocations: 0.7989 MB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005869/1.15, allocations: 66.03 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/1.15, allocations: 103.4 kB / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of SimCode: time 1.402e-06/1.15, allocations: 0 / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/1.204, allocations: 7.208 MB / 1.126 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/1.205, allocations: 164.6 kB / 1.127 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.993, allocations: 0.5 kB / 1.127 GB, free: 5.32 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)