Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.76/1.76, allocations: 288.2 MB / 303.2 MB, free: 8.23 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.00113/0.00113, allocations: 185 kB / 371.8 MB, free: 10.26 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.013/2.013, allocations: 205.4 MB / 0.6305 GB, free: 9.965 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.001014/0.001014, allocations: 97.48 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 11.88 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.462, allocations: 423.8 MB / 1.393 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.462, allocations: 96.11 kB / 1.393 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.187/5.65, allocations: 1.045 GB / 2.438 GB, free: 51.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/5.65, allocations: 0 / 2.438 GB, free: 51.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003797/5.65, allocations: 79.97 kB / 2.438 GB, free: 50.95 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.0109/5.661, allocations: 3.682 MB / 2.442 GB, free: 47.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/5.661, allocations: 8.031 kB / 2.442 GB, free: 47.16 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001159/5.663, allocations: 324.7 kB / 2.442 GB, free: 46.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009063/5.672, allocations: 1.22 MB / 2.443 GB, free: 45.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007752/5.679, allocations: 3.311 MB / 2.447 GB, free: 42.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/5.68, allocations: 251.9 kB / 2.447 GB, free: 41.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/5.68, allocations: 240 kB / 2.447 GB, free: 41.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007259/5.687, allocations: 3.126 MB / 2.45 GB, free: 38.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/5.687, allocations: 7.938 kB / 2.45 GB, free: 38.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/5.688, allocations: 99.98 kB / 2.45 GB, free: 38.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/5.688, allocations: 71.94 kB / 2.45 GB, free: 38.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008479/5.696, allocations: 2.768 MB / 2.453 GB, free: 35.45 MB / 0.948 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.02033/5.717, allocations: 13.17 MB / 2.466 GB, free: 21.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/5.721, allocations: 1.494 MB / 2.467 GB, free: 20.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/5.722, allocations: 1.777 MB / 2.469 GB, free: 18.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003385/5.726, allocations: 1.211 MB / 2.47 GB, free: 16.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.046e-06/5.726, allocations: 0 / 2.47 GB, free: 16.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.02051/5.746, allocations: 4.278 MB / 2.474 GB, free: 12.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002605/5.746, allocations: 0.9319 MB / 2.475 GB, free: 11.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/5.751, allocations: 2.336 MB / 2.478 GB, free: 8.902 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004819/5.751, allocations: 61.7 kB / 2.478 GB, free: 8.836 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/5.752, allocations: 1.352 MB / 2.479 GB, free: 7.461 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/5.753, allocations: 414.2 kB / 2.479 GB, free: 7.051 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/5.753, allocations: 32 kB / 2.479 GB, free: 7.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000106/5.753, allocations: 369.9 kB / 2.48 GB, free: 6.652 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/5.757, allocations: 0.9368 MB / 2.481 GB, free: 5.715 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/5.76, allocations: 1.568 MB / 2.482 GB, free: 3.895 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/5.764, allocations: 1.078 MB / 2.483 GB, free: 2.816 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/5.764, allocations: 4 kB / 2.483 GB, free: 2.812 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009519/5.773, allocations: 2.902 MB / 2.486 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002105/5.776, allocations: 5.042 MB / 2.491 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/5.776, allocations: 12 kB / 2.491 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/5.778, allocations: 0.7256 MB / 2.492 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/5.781, allocations: 0.4906 MB / 2.492 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/5.784, allocations: 1.795 MB / 2.494 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/5.789, allocations: 0.5207 MB / 2.495 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/5.79, allocations: 103.9 kB / 2.495 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/5.79, allocations: 4 kB / 2.495 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0089/5.799, allocations: 2.587 MB / 2.497 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/5.799, allocations: 12 kB / 2.497 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/5.801, allocations: 0.7216 MB / 2.498 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/5.804, allocations: 483.2 kB / 2.498 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/5.807, allocations: 1.792 MB / 2.5 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005521/5.812, allocations: 449.7 kB / 2.5 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/5.813, allocations: 103.9 kB / 2.501 GB, free: 0.5508 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002798/5.815, allocations: 0.7019 MB / 2.501 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/5.817, allocations: 272.8 kB / 2.502 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009892/5.826, allocations: 2.273 MB / 2.504 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/5.827, allocations: 16 kB / 2.504 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/5.827, allocations: 7.953 kB / 2.504 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00865/5.835, allocations: 2.056 MB / 2.506 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/5.854, allocations: 6.979 MB / 2.513 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/5.854, allocations: 11.95 kB / 2.513 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/5.856, allocations: 284 kB / 2.513 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/5.858, allocations: 0.7198 MB / 2.514 GB, free: 2.961 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/5.859, allocations: 47.89 kB / 2.514 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/5.861, allocations: 1.778 MB / 2.515 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/5.861, allocations: 11.94 kB / 2.515 GB, free: 1.074 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7732/6.634, allocations: 4.106 MB / 2.519 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003518/6.638, allocations: 0.6561 MB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/6.639, allocations: 36.92 kB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005599/6.645, allocations: 279.4 kB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004532/6.645, allocations: 114.5 kB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003945/6.646, allocations: 69.42 kB / 2.521 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006754/6.652, allocations: 1.828 MB / 2.522 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.1e-07/6.652, allocations: 0 / 2.522 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01273/6.665, allocations: 1.836 MB / 2.524 GB, free: 129 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02319/6.688, allocations: 7.644 MB / 2.532 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01899/6.707, allocations: 3.489 MB / 2.535 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.742e-05/6.707, allocations: 8.062 kB / 2.535 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005862/6.713, allocations: 1.04 MB / 2.536 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01243/6.726, allocations: 1.405 MB / 2.537 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08933/6.815, allocations: 26.87 MB / 2.564 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005086/6.82, allocations: 1.77 MB / 2.565 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009407/6.83, allocations: 0.6866 MB / 2.566 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/6.833, allocations: 1.154 MB / 2.567 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.843e-06/6.834, allocations: 1.031 kB / 2.567 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1815/7.015, allocations: 99.35 MB / 2.664 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/7.015, allocations: 298.8 kB / 2.664 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.065/13.08, allocations: 0 / 2.664 GB, free: 104.1 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)