Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.732/1.732, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001192/0.001192, allocations: 183.4 kB / 377.1 MB, free: 1.539 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.749/1.749, allocations: 205.4 MB / 0.6366 GB, free: 8.578 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.0009189/0.0009189, allocations: 95.97 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003881, allocations: 8 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3119, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.662/1.974, allocations: 425.3 MB / 1.404 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.975, allocations: 93.92 kB / 1.404 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.667/5.642, allocations: 1.045 GB / 2.449 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.016e-06/5.642, allocations: 0 / 2.449 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006555/5.643, allocations: 83.91 kB / 2.449 GB, free: 2.613 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01732/5.66, allocations: 3.694 MB / 2.452 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/5.66, allocations: 12.03 kB / 2.452 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002122/5.662, allocations: 332.8 kB / 2.453 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/5.677, allocations: 1.311 MB / 2.454 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/5.692, allocations: 3.336 MB / 2.457 GB, free: 9.738 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007567/5.693, allocations: 251.9 kB / 2.458 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/5.695, allocations: 232 kB / 2.458 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/5.709, allocations: 3.198 MB / 2.461 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/5.709, allocations: 7.844 kB / 2.461 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/5.711, allocations: 108 kB / 2.461 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/5.711, allocations: 71.92 kB / 2.461 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/5.724, allocations: 2.889 MB / 2.464 GB, free: 2.766 MB / 0.9792 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.8489/6.573, allocations: 13.31 MB / 2.477 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004864/6.578, allocations: 1.599 MB / 2.478 GB, free: 93.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/6.579, allocations: 1.777 MB / 2.48 GB, free: 91.23 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00423/6.584, allocations: 1.289 MB / 2.481 GB, free: 90.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 6.502e-06/6.584, allocations: 0 / 2.481 GB, free: 90.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.04359/6.627, allocations: 6.119 MB / 2.487 GB, free: 90.56 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003594/6.628, allocations: 0.9391 MB / 2.488 GB, free: 89.43 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006715/6.634, allocations: 2.332 MB / 2.491 GB, free: 89.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006957/6.635, allocations: 65.58 kB / 2.491 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/6.637, allocations: 1.366 MB / 2.492 GB, free: 88.82 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008101/6.638, allocations: 431.1 kB / 2.492 GB, free: 88.61 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/6.638, allocations: 36.19 kB / 2.492 GB, free: 88.61 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001648/6.638, allocations: 367.6 kB / 2.493 GB, free: 88.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004224/6.642, allocations: 0.9992 MB / 2.494 GB, free: 88.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/6.647, allocations: 1.622 MB / 2.495 GB, free: 87.65 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/6.651, allocations: 1.128 MB / 2.496 GB, free: 87.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/6.651, allocations: 3.906 kB / 2.496 GB, free: 87.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01855/6.67, allocations: 3.644 MB / 2.5 GB, free: 87.36 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/6.671, allocations: 5.04 MB / 2.505 GB, free: 82.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/6.671, allocations: 10.69 kB / 2.505 GB, free: 82.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/6.675, allocations: 0.9539 MB / 2.506 GB, free: 82.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/6.678, allocations: 497.5 kB / 2.506 GB, free: 82.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/6.681, allocations: 1.991 MB / 2.508 GB, free: 81.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/6.688, allocations: 0.5348 MB / 2.509 GB, free: 80.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006288/6.688, allocations: 110.4 kB / 2.509 GB, free: 80.95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/6.688, allocations: 3 kB / 2.509 GB, free: 80.95 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01718/6.706, allocations: 3.323 MB / 2.512 GB, free: 80.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.719e-05/6.706, allocations: 9.75 kB / 2.512 GB, free: 80.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/6.709, allocations: 0.968 MB / 2.513 GB, free: 80.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/6.712, allocations: 477.7 kB / 2.514 GB, free: 80.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/6.715, allocations: 1.992 MB / 2.516 GB, free: 79.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00579/6.721, allocations: 463.9 kB / 2.516 GB, free: 79.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/6.721, allocations: 106.8 kB / 2.516 GB, free: 79.74 MB / 0.9792 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002926/6.724, allocations: 0.6957 MB / 2.517 GB, free: 79.55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/6.726, allocations: 273.3 kB / 2.517 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/6.743, allocations: 2.948 MB / 2.52 GB, free: 79.29 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/6.743, allocations: 16.28 kB / 2.52 GB, free: 79.29 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/6.743, allocations: 6.906 kB / 2.52 GB, free: 79.29 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01566/6.759, allocations: 2.713 MB / 2.523 GB, free: 79 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/6.788, allocations: 7.662 MB / 2.53 GB, free: 77.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/6.788, allocations: 9.406 kB / 2.53 GB, free: 77.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/6.79, allocations: 290.8 kB / 2.53 GB, free: 77.01 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003674/6.794, allocations: 0.9386 MB / 2.531 GB, free: 76.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/6.794, allocations: 51.83 kB / 2.531 GB, free: 76.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/6.797, allocations: 1.981 MB / 2.533 GB, free: 75.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/6.797, allocations: 10.91 kB / 2.533 GB, free: 75.93 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/6.811, allocations: 4.317 MB / 2.537 GB, free: 74.45 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/6.814, allocations: 0.6707 MB / 2.538 GB, free: 74.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/6.815, allocations: 37.22 kB / 2.538 GB, free: 74.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004482/6.82, allocations: 294 kB / 2.538 GB, free: 74.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/6.82, allocations: 121.8 kB / 2.539 GB, free: 74.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/6.82, allocations: 75.33 kB / 2.539 GB, free: 74.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003972/6.824, allocations: 1.827 MB / 2.54 GB, free: 74.05 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.41e-07/6.824, allocations: 2.594 kB / 2.54 GB, free: 74.05 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009139/6.834, allocations: 1.846 MB / 2.542 GB, free: 73.98 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01703/6.851, allocations: 7.869 MB / 2.55 GB, free: 70.36 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01384/6.865, allocations: 3.659 MB / 2.553 GB, free: 70.19 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-05/6.865, allocations: 6.469 kB / 2.554 GB, free: 70.19 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00404/6.869, allocations: 1.09 MB / 2.555 GB, free: 70.17 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008506/6.877, allocations: 1.409 MB / 2.556 GB, free: 70.14 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06173/6.939, allocations: 27.01 MB / 2.582 GB, free: 54.87 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/6.941, allocations: 1.769 MB / 2.584 GB, free: 54.13 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005562/6.947, allocations: 0.6945 MB / 2.585 GB, free: 54 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/6.949, allocations: 1.154 MB / 2.586 GB, free: 53.99 MB / 0.9792 GB Notification: Performance of SimCode: time 2.334e-06/6.949, allocations: 0 / 2.586 GB, free: 53.99 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/7.155, allocations: 102.1 MB / 2.686 GB, free: 48.05 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/7.155, allocations: 268.9 kB / 2.686 GB, free: 47.69 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/13.78, allocations: 0 / 2.686 GB, free: 47.69 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)