Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001816/0.001816, allocations: 176.9 kB / 366.7 MB, free: 1.637 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.971/1.971, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.001294/0.001294, allocations: 99.16 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.462e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7336, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.776, allocations: 424 MB / 1.387 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/1.777, allocations: 87.2 kB / 1.388 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.634/5.41, allocations: 1.036 GB / 2.424 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.905e-06/5.41, allocations: 0 / 2.424 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003997/5.411, allocations: 83.62 kB / 2.424 GB, free: 107.9 MB / 0.9636 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.01034/5.421, allocations: 3.178 MB / 2.427 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/5.421, allocations: 8.969 kB / 2.427 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/5.434, allocations: 1.215 MB / 2.428 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/5.448, allocations: 3.3 MB / 2.431 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/5.448, allocations: 166.1 kB / 2.432 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/5.449, allocations: 137 kB / 2.432 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007419/5.457, allocations: 1.966 MB / 2.434 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/5.465, allocations: 2.463 MB / 2.436 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/5.465, allocations: 6.438 kB / 2.436 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004529/5.466, allocations: 7.312 kB / 2.436 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/5.466, allocations: 69.08 kB / 2.436 GB, free: 105.5 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.0346/5.501, allocations: 12.63 MB / 2.449 GB, free: 99.97 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/5.503, allocations: 1.122 MB / 2.45 GB, free: 99.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/5.505, allocations: 0.5892 MB / 2.45 GB, free: 99.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002289/5.507, allocations: 1.78 MB / 2.452 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002231/5.51, allocations: 0.9115 MB / 2.453 GB, free: 97.49 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 9.538e-06/5.51, allocations: 0 / 2.453 GB, free: 97.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=118): time 0.0106/5.52, allocations: 1.839 MB / 2.455 GB, free: 97.28 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002517/5.521, allocations: 0.9391 MB / 2.456 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006496/5.527, allocations: 1.847 MB / 2.457 GB, free: 95.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006263/5.528, allocations: 35.67 kB / 2.457 GB, free: 95.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002015/5.53, allocations: 1.381 MB / 2.459 GB, free: 95.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008982/5.531, allocations: 401.2 kB / 2.459 GB, free: 95.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/5.531, allocations: 2.344 kB / 2.459 GB, free: 95.08 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001795/5.531, allocations: 373.3 kB / 2.459 GB, free: 94.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/5.533, allocations: 0.5947 MB / 2.46 GB, free: 94.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/5.536, allocations: 1.188 MB / 2.461 GB, free: 94.11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/5.54, allocations: 0.9645 MB / 2.462 GB, free: 94.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/5.54, allocations: 3.219 kB / 2.462 GB, free: 94.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007564/5.548, allocations: 2.278 MB / 2.464 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001063/5.549, allocations: 4.94 MB / 2.469 GB, free: 88.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/5.549, allocations: 9.906 kB / 2.469 GB, free: 88.62 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/5.55, allocations: 0.5321 MB / 2.47 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/5.553, allocations: 496.4 kB / 2.47 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/5.555, allocations: 1.788 MB / 2.472 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/5.56, allocations: 449.1 kB / 2.472 GB, free: 87.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/5.561, allocations: 107.8 kB / 2.472 GB, free: 87.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/5.561, allocations: 10.5 kB / 2.472 GB, free: 87.46 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006859/5.568, allocations: 1.986 MB / 2.474 GB, free: 87.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/5.568, allocations: 11.56 kB / 2.474 GB, free: 87.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/5.569, allocations: 0.5302 MB / 2.475 GB, free: 87.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/5.572, allocations: 482 kB / 2.475 GB, free: 87.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/5.574, allocations: 1.786 MB / 2.477 GB, free: 86.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/5.578, allocations: 358.4 kB / 2.478 GB, free: 86.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/5.578, allocations: 102.2 kB / 2.478 GB, free: 86.28 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 () * 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.0006889/5.579, allocations: 169.4 kB / 2.478 GB, free: 86.16 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006853/5.586, allocations: 1.84 MB / 2.48 GB, free: 85.95 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008025/5.587, allocations: 251.7 kB / 2.48 GB, free: 85.83 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006533/5.593, allocations: 1.833 MB / 2.482 GB, free: 85.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/5.593, allocations: 23.02 kB / 2.482 GB, free: 85.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/5.593, allocations: 7.375 kB / 2.482 GB, free: 85.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005442/5.599, allocations: 1.681 MB / 2.483 GB, free: 85.39 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/5.612, allocations: 6.248 MB / 2.489 GB, free: 83.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/5.612, allocations: 9.625 kB / 2.489 GB, free: 83.44 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/5.613, allocations: 290 kB / 2.49 GB, free: 83.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/5.614, allocations: 0.5185 MB / 2.49 GB, free: 83.42 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.861e-05/5.615, allocations: 35.95 kB / 2.49 GB, free: 83.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/5.616, allocations: 1.772 MB / 2.492 GB, free: 82.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/5.616, allocations: 15.53 kB / 2.492 GB, free: 82.37 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/5.623, allocations: 3.296 MB / 2.495 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/5.625, allocations: 0.6212 MB / 2.496 GB, free: 80.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/5.626, allocations: 17.73 kB / 2.496 GB, free: 80.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/5.629, allocations: 253.1 kB / 2.496 GB, free: 80.87 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/5.629, allocations: 110.9 kB / 2.496 GB, free: 80.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/5.629, allocations: 71.42 kB / 2.496 GB, free: 80.86 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002212/5.631, allocations: 1.38 MB / 2.498 GB, free: 80.72 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.11e-07/5.631, allocations: 2.188 kB / 2.498 GB, free: 80.72 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006542/5.638, allocations: 1.818 MB / 2.499 GB, free: 80.39 MB / 0.9636 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) * 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.009402/5.647, allocations: 6.95 MB / 2.506 GB, free: 76.65 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004347/5.652, allocations: 2.545 MB / 2.509 GB, free: 76.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/5.652, allocations: 7.656 kB / 2.509 GB, free: 76.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/5.653, allocations: 0.738 MB / 2.509 GB, free: 76.47 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006259/5.659, allocations: 1.087 MB / 2.51 GB, free: 76.45 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/5.671, allocations: 4.478 MB / 2.515 GB, free: 75.13 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/5.672, allocations: 1.773 MB / 2.516 GB, free: 74.39 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003735/5.676, allocations: 0.7662 MB / 2.517 GB, free: 74.36 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/5.677, allocations: 1.094 MB / 2.518 GB, free: 74.36 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/5.677, allocations: 0 / 2.518 GB, free: 74.36 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/5.814, allocations: 85.23 MB / 2.602 GB, free: 69.28 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/5.814, allocations: 194.2 kB / 2.602 GB, free: 69.05 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.5/11.31, allocations: 0 / 2.602 GB, free: 69.05 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)