Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",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.806/1.806, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001318/0.001318, allocations: 173.9 kB / 372 MB, free: 10.28 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.643/1.643, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 90.3 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005604/0.0005606, allocations: 16.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2752, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05224/0.3275, allocations: 57.77 MB / 1.036 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.3471, allocations: 12.36 MB / 1.048 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.3504, allocations: 55.62 kB / 1.048 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.3539, allocations: 0.7805 MB / 1.049 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00673/0.3607, allocations: 1.548 MB / 1.05 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005093/0.3658, allocations: 1.026 MB / 1.051 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007437/0.3732, allocations: 3.707 MB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.3755, allocations: 0.9279 MB / 1.056 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.3786, allocations: 1.104 MB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.3806, allocations: 0.9489 MB / 1.058 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.3808, allocations: 64 kB / 1.058 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.384, allocations: 1.201 MB / 1.059 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.3844, allocations: 358.6 kB / 1.06 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.3851, allocations: 340.8 kB / 1.06 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.3883, allocations: 2.128 MB / 1.062 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3883, allocations: 0 / 1.062 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3883, allocations: 0 / 1.062 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.3883, allocations: 3.938 kB / 1.062 GB, free: 7.031 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003694/0.392, allocations: 1.879 MB / 1.064 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.3921, allocations: 12.03 kB / 1.064 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.3923, allocations: 143.3 kB / 1.064 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.3948, allocations: 0.5482 MB / 1.064 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.3979, allocations: 1.328 MB / 1.066 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008074/0.3987, allocations: 269.3 kB / 1.066 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.3989, allocations: 91.98 kB / 1.066 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.4018, allocations: 1.248 MB / 1.067 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4018, allocations: 0 / 1.067 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.4019, allocations: 36 kB / 1.067 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.402, allocations: 20 kB / 1.067 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5877/0.9897, allocations: 1.333 MB / 1.069 GB, free: 90.46 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009911/0.9997, allocations: 4.539 MB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00886/1.009, allocations: 1.964 MB / 1.075 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/1.01, allocations: 473.2 kB / 1.076 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/1.011, allocations: 1.157 MB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/1.012, allocations: 0.5407 MB / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 5.37e-06/1.012, allocations: 0 / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.004209/1.017, allocations: 1.415 MB / 1.079 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.017, allocations: 84.69 kB / 1.079 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/1.02, allocations: 1.619 MB / 1.08 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.021, allocations: 41.88 kB / 1.08 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/1.021, allocations: 0.6407 MB / 1.081 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.021, allocations: 216.3 kB / 1.081 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/1.021, allocations: 11.16 kB / 1.081 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/1.022, allocations: 334.7 kB / 1.081 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/1.023, allocations: 0.5017 MB / 1.082 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.025, allocations: 0.67 MB / 1.083 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/1.027, allocations: 0.5349 MB / 1.083 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.027, allocations: 4.844 kB / 1.083 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004175/1.031, allocations: 1.326 MB / 1.084 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.031, allocations: 162.3 kB / 1.085 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.031, allocations: 2.094 kB / 1.085 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/1.031, allocations: 5.562 kB / 1.085 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.032, allocations: 237.1 kB / 1.085 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.032, allocations: 5.734 kB / 1.085 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.034, allocations: 248.3 kB / 1.085 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.034, allocations: 37.66 kB / 1.085 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.034, allocations: 4 kB / 1.085 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003403/1.038, allocations: 1.166 MB / 1.086 GB, free: 81.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.038, allocations: 6.25 kB / 1.086 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.038, allocations: 7.188 kB / 1.086 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.039, allocations: 231.6 kB / 1.086 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.039, allocations: 9.719 kB / 1.086 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.041, allocations: 211.3 kB / 1.087 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.041, allocations: 33.75 kB / 1.087 GB, free: 81.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.001037/1.042, allocations: 437.9 kB / 1.087 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/1.043, allocations: 150.8 kB / 1.087 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/1.046, allocations: 1.271 MB / 1.088 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/1.046, allocations: 12.81 kB / 1.088 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.046, allocations: 3.953 kB / 1.088 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.046, allocations: 3.234 kB / 1.088 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006875/1.053, allocations: 2.729 MB / 1.091 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.053, allocations: 4.531 kB / 1.091 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/1.054, allocations: 149.2 kB / 1.091 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/1.054, allocations: 6 kB / 1.091 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/1.054, allocations: 21.34 kB / 1.091 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/1.054, allocations: 5.625 kB / 1.091 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.054, allocations: 2.469 kB / 1.091 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/1.057, allocations: 1.286 MB / 1.093 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.058, allocations: 398.8 kB / 1.093 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/1.059, allocations: 15.94 kB / 1.093 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.06, allocations: 129.9 kB / 1.093 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.06, allocations: 61.16 kB / 1.093 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.061, allocations: 33.31 kB / 1.093 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002922/1.064, allocations: 1.144 MB / 1.094 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/1.064, allocations: 1.406 kB / 1.094 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003266/1.067, allocations: 0.7082 MB / 1.095 GB, free: 78.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.005689/1.073, allocations: 2.468 MB / 1.097 GB, free: 76.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005017/1.078, allocations: 1.724 MB / 1.099 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.078, allocations: 0 / 1.099 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.079, allocations: 0.5027 MB / 1.1 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/1.083, allocations: 0.633 MB / 1.1 GB, free: 75.83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/1.11, allocations: 9.584 MB / 1.11 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.112, allocations: 1.236 MB / 1.111 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002864/1.115, allocations: 400.7 kB / 1.111 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.116, allocations: 0.5717 MB / 1.112 GB, free: 68.44 MB / 0.6823 GB Notification: Performance of SimCode: time 2.093e-06/1.116, allocations: 1.25 kB / 1.112 GB, free: 68.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/1.196, allocations: 40.28 MB / 1.151 GB, free: 34.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.196, allocations: 251 kB / 1.151 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/4.661, allocations: 0 / 1.151 GB, free: 33.69 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)