Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",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.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 178.9 kB / 326.5 MB, free: 2.25 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.707/1.707, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008483/0.0008483, allocations: 100.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 12.94 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2264, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.07972/0.3062, allocations: 96.56 MB / 0.9944 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02908/0.3353, allocations: 18.18 MB / 1.012 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00424/0.3396, allocations: 91.38 kB / 1.012 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005903/0.3456, allocations: 1.571 MB / 1.014 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.3585, allocations: 3.609 MB / 1.017 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008133/0.3666, allocations: 2.555 MB / 1.02 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.3767, allocations: 4.703 MB / 1.024 GB, free: 356 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/0.3811, allocations: 1.974 MB / 1.026 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/0.3873, allocations: 2.16 MB / 1.028 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004724/0.392, allocations: 1.544 MB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.3934, allocations: 124 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.3985, allocations: 1.213 MB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.4, allocations: 0.6188 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.4017, allocations: 0.6641 MB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007167/0.4089, allocations: 3.83 MB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.409, allocations: 0 / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.655e-06/0.409, allocations: 0 / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001532/0.4091, allocations: 0 / 1.036 GB, free: 4.152 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.007752/0.4169, allocations: 3.198 MB / 1.039 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.417, allocations: 8.031 kB / 1.039 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008974/0.4179, allocations: 290.5 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/0.421, allocations: 0.6363 MB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.4269, allocations: 2.501 MB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.4274, allocations: 306.4 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.4279, allocations: 200 kB / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005476/0.4334, allocations: 2.452 MB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.4335, allocations: 7.938 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.4338, allocations: 83.98 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.4338, allocations: 63.98 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004709/0.4386, allocations: 2.079 MB / 1.048 GB, free: 8.043 MB / 0.698 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.5641/1.003, allocations: 10.9 MB / 1.058 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/1.006, allocations: 1.217 MB / 1.06 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008577/1.007, allocations: 1.321 MB / 1.061 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/1.009, allocations: 0.9529 MB / 1.062 GB, free: 139.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 4.538e-06/1.009, allocations: 0 / 1.062 GB, free: 139.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=115): time 0.005857/1.015, allocations: 2.175 MB / 1.064 GB, free: 139.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/1.015, allocations: 477.4 kB / 1.064 GB, free: 139.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/1.019, allocations: 2.513 MB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004446/1.02, allocations: 55.25 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.022, allocations: 1.311 MB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007508/1.022, allocations: 405.5 kB / 1.069 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.022, allocations: 30.34 kB / 1.069 GB, free: 138.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.023, allocations: 365.3 kB / 1.069 GB, free: 138 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/1.025, allocations: 0.6939 MB / 1.07 GB, free: 138 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/1.028, allocations: 1.214 MB / 1.071 GB, free: 137.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/1.03, allocations: 0.8116 MB / 1.072 GB, free: 137.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/1.03, allocations: 4.344 kB / 1.072 GB, free: 137.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006624/1.037, allocations: 2.098 MB / 1.074 GB, free: 137.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.038, allocations: 4.323 MB / 1.078 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/1.038, allocations: 11.5 kB / 1.078 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.168e-05/1.038, allocations: 18.06 kB / 1.078 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/1.04, allocations: 423.8 kB / 1.078 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.946e-05/1.04, allocations: 25.89 kB / 1.078 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/1.044, allocations: 334 kB / 1.079 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003879/1.044, allocations: 77.41 kB / 1.079 GB, free: 132.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.044, allocations: 7.516 kB / 1.079 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005822/1.05, allocations: 1.835 MB / 1.081 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.839e-05/1.05, allocations: 9.781 kB / 1.081 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-05/1.05, allocations: 18.88 kB / 1.081 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/1.052, allocations: 422.5 kB / 1.081 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.208e-05/1.052, allocations: 24.47 kB / 1.081 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/1.055, allocations: 308.1 kB / 1.081 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/1.056, allocations: 71.8 kB / 1.081 GB, free: 132.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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.002136/1.058, allocations: 0.6819 MB / 1.082 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.059, allocations: 279.2 kB / 1.082 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/1.065, allocations: 1.958 MB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/1.065, allocations: 13.72 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.065, allocations: 1.656 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003268/1.068, allocations: 1.51 MB / 1.086 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.079, allocations: 4.746 MB / 1.09 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/1.079, allocations: 5.969 kB / 1.09 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.081, allocations: 285.1 kB / 1.091 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.051e-05/1.081, allocations: 10.88 kB / 1.091 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/1.081, allocations: 35.67 kB / 1.091 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.288e-05/1.081, allocations: 13.27 kB / 1.091 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.081, allocations: 10.34 kB / 1.091 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007992/1.089, allocations: 3.384 MB / 1.094 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/1.092, allocations: 0.5697 MB / 1.095 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.093, allocations: 31.83 kB / 1.095 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.096, allocations: 180.6 kB / 1.095 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/1.096, allocations: 120.9 kB / 1.095 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.097, allocations: 59.23 kB / 1.095 GB, free: 124.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003796/1.101, allocations: 1.745 MB / 1.097 GB, free: 123.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.02e-07/1.101, allocations: 0 / 1.097 GB, free: 123.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006619/1.107, allocations: 1.406 MB / 1.098 GB, free: 123.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * 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.008711/1.116, allocations: 5.832 MB / 1.104 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006692/1.123, allocations: 2.785 MB / 1.106 GB, free: 116.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.123, allocations: 4 kB / 1.106 GB, free: 116.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/1.125, allocations: 0.8587 MB / 1.107 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00707/1.132, allocations: 1.301 MB / 1.109 GB, free: 114.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.149, allocations: 14.22 MB / 1.122 GB, free: 99.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/1.151, allocations: 1.811 MB / 1.124 GB, free: 98.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00499/1.156, allocations: 0.6832 MB / 1.125 GB, free: 97.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/1.158, allocations: 1.136 MB / 1.126 GB, free: 96.28 MB / 0.698 GB Notification: Performance of SimCode: time 1.994e-06/1.158, allocations: 0 / 1.126 GB, free: 96.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/1.279, allocations: 73.78 MB / 1.198 GB, free: 23.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.279, allocations: 246.7 kB / 1.198 GB, free: 22.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.773/6.052, allocations: 4 kB / 1.198 GB, free: 22.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)