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.703/1.703, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001137/0.001138, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.907/1.907, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009865/0.0009865, allocations: 98.28 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.31e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7194, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.766, allocations: 423.1 MB / 1.378 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/1.767, allocations: 91.2 kB / 1.378 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.884/5.651, allocations: 1.036 GB / 2.414 GB, free: 104.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/5.651, allocations: 3.719 kB / 2.414 GB, free: 104.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003736/5.651, allocations: 84.62 kB / 2.414 GB, free: 104.5 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.007756/5.659, allocations: 3.178 MB / 2.417 GB, free: 103.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/5.659, allocations: 11.53 kB / 2.417 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008368/5.667, allocations: 1.213 MB / 2.418 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007219/5.675, allocations: 3.299 MB / 2.422 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/5.675, allocations: 168.3 kB / 2.422 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/5.675, allocations: 139.1 kB / 2.422 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003494/5.679, allocations: 1.961 MB / 2.424 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/5.682, allocations: 2.459 MB / 2.426 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/5.683, allocations: 4.594 kB / 2.426 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/5.683, allocations: 8.969 kB / 2.426 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/5.683, allocations: 69.73 kB / 2.426 GB, free: 101.9 MB / 0.948 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.01638/5.699, allocations: 12.63 MB / 2.439 GB, free: 96.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/5.701, allocations: 1.128 MB / 2.44 GB, free: 96.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/5.701, allocations: 0.5966 MB / 2.44 GB, free: 96.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/5.703, allocations: 1.776 MB / 2.442 GB, free: 94.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/5.704, allocations: 0.917 MB / 2.443 GB, free: 93.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.256e-06/5.704, allocations: 0 / 2.443 GB, free: 93.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.006946/5.711, allocations: 1.845 MB / 2.445 GB, free: 93.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/5.711, allocations: 0.932 MB / 2.446 GB, free: 92.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/5.714, allocations: 1.846 MB / 2.448 GB, free: 92.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002779/5.714, allocations: 36.17 kB / 2.448 GB, free: 92.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009803/5.715, allocations: 1.385 MB / 2.449 GB, free: 91.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/5.716, allocations: 398.5 kB / 2.449 GB, free: 91.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/5.716, allocations: 3.156 kB / 2.449 GB, free: 91.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/5.716, allocations: 368.8 kB / 2.45 GB, free: 91.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009015/5.717, allocations: 0.5942 MB / 2.45 GB, free: 91.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/5.718, allocations: 1.191 MB / 2.451 GB, free: 90.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/5.722, allocations: 0.9573 MB / 2.452 GB, free: 90.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/5.722, allocations: 5.562 kB / 2.452 GB, free: 90.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005909/5.728, allocations: 2.275 MB / 2.455 GB, free: 90.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007811/5.728, allocations: 4.942 MB / 2.459 GB, free: 85.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/5.728, allocations: 11.69 kB / 2.459 GB, free: 85.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/5.729, allocations: 0.5246 MB / 2.46 GB, free: 85.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/5.732, allocations: 497.8 kB / 2.46 GB, free: 85.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/5.734, allocations: 1.791 MB / 2.462 GB, free: 83.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/5.739, allocations: 454.2 kB / 2.463 GB, free: 83.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/5.739, allocations: 102.7 kB / 2.463 GB, free: 83.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/5.739, allocations: 4.75 kB / 2.463 GB, free: 83.87 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005496/5.745, allocations: 1.996 MB / 2.465 GB, free: 83.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/5.745, allocations: 11.62 kB / 2.465 GB, free: 83.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/5.746, allocations: 0.5338 MB / 2.465 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/5.748, allocations: 483.5 kB / 2.466 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/5.75, allocations: 1.776 MB / 2.467 GB, free: 82.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/5.755, allocations: 363.7 kB / 2.468 GB, free: 82.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/5.755, allocations: 108.6 kB / 2.468 GB, free: 82.68 MB / 0.948 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.0005576/5.755, allocations: 163.1 kB / 2.468 GB, free: 82.57 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006577/5.762, allocations: 1.844 MB / 2.47 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007045/5.763, allocations: 251.4 kB / 2.47 GB, free: 82.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/5.769, allocations: 1.837 MB / 2.472 GB, free: 82.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/5.769, allocations: 21.14 kB / 2.472 GB, free: 82.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/5.769, allocations: 3.656 kB / 2.472 GB, free: 82.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005499/5.775, allocations: 1.675 MB / 2.473 GB, free: 81.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/5.787, allocations: 6.239 MB / 2.48 GB, free: 79.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/5.787, allocations: 7.125 kB / 2.48 GB, free: 79.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/5.789, allocations: 287.8 kB / 2.48 GB, free: 79.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/5.79, allocations: 0.5269 MB / 2.48 GB, free: 79.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/5.79, allocations: 30.52 kB / 2.48 GB, free: 79.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/5.792, allocations: 1.767 MB / 2.482 GB, free: 78.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/5.792, allocations: 9.25 kB / 2.482 GB, free: 78.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/5.799, allocations: 3.302 MB / 2.485 GB, free: 77.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/5.801, allocations: 0.6172 MB / 2.486 GB, free: 77.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007892/5.802, allocations: 22.34 kB / 2.486 GB, free: 77.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/5.805, allocations: 257.5 kB / 2.486 GB, free: 77.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/5.805, allocations: 109.2 kB / 2.486 GB, free: 77.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/5.806, allocations: 76.78 kB / 2.486 GB, free: 77.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0021/5.808, allocations: 1.38 MB / 2.488 GB, free: 77.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.808, allocations: 0 / 2.488 GB, free: 77.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006401/5.814, allocations: 1.806 MB / 2.489 GB, free: 76.82 MB / 0.948 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.009446/5.824, allocations: 6.958 MB / 2.496 GB, free: 73.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004317/5.828, allocations: 2.558 MB / 2.499 GB, free: 72.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/5.828, allocations: 2.688 kB / 2.499 GB, free: 72.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/5.829, allocations: 0.7378 MB / 2.499 GB, free: 72.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006006/5.835, allocations: 1.085 MB / 2.501 GB, free: 72.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/5.849, allocations: 4.482 MB / 2.505 GB, free: 71.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/5.851, allocations: 1.776 MB / 2.507 GB, free: 70.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005804/5.857, allocations: 0.7599 MB / 2.507 GB, free: 70.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/5.859, allocations: 1.092 MB / 2.508 GB, free: 70.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/5.859, allocations: 4 kB / 2.508 GB, free: 70.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/5.992, allocations: 85.22 MB / 2.592 GB, free: 60.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/5.993, allocations: 214.9 kB / 2.592 GB, free: 60.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.351/11.34, allocations: 0 / 2.592 GB, free: 60.01 MB / 0.948 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)