Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.446/2.446, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001524/0.001524, allocations: 192.8 kB / 360.6 MB, free: 7.297 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.091/2.091, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001069/0.001069, allocations: 91.58 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.932e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8405/0.8406, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/2.118, allocations: 423.4 MB / 1.377 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/2.118, allocations: 87.8 kB / 1.377 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.607/7.725, allocations: 1.037 GB / 2.413 GB, free: 102.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/7.725, allocations: 2.594 kB / 2.414 GB, free: 102.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005929/7.726, allocations: 79.8 kB / 2.414 GB, free: 102.9 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.012/7.738, allocations: 3.198 MB / 2.417 GB, free: 101.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/7.738, allocations: 11.19 kB / 2.417 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/7.757, allocations: 1.312 MB / 2.418 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/7.769, allocations: 3.319 MB / 2.421 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/7.769, allocations: 177.7 kB / 2.421 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/7.77, allocations: 141.3 kB / 2.422 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007685/7.778, allocations: 2.02 MB / 2.424 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009652/7.788, allocations: 2.503 MB / 2.426 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/7.788, allocations: 4.625 kB / 2.426 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008515/7.789, allocations: 3.281 kB / 2.426 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/7.789, allocations: 75.84 kB / 2.426 GB, free: 100.3 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.03268/7.822, allocations: 12.81 MB / 2.439 GB, free: 94.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/7.824, allocations: 1.198 MB / 2.44 GB, free: 94.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/7.826, allocations: 0.6215 MB / 2.44 GB, free: 94.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/7.828, allocations: 1.779 MB / 2.442 GB, free: 92.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002479/7.831, allocations: 0.9536 MB / 2.443 GB, free: 92.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=122): time 6.382e-06/7.831, allocations: 2.375 kB / 2.443 GB, free: 92.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.01219/7.843, allocations: 1.837 MB / 2.445 GB, free: 92.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002751/7.844, allocations: 0.9383 MB / 2.446 GB, free: 90.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/7.848, allocations: 1.854 MB / 2.448 GB, free: 90.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00054/7.849, allocations: 36.16 kB / 2.448 GB, free: 90.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/7.851, allocations: 1.376 MB / 2.449 GB, free: 90.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007766/7.851, allocations: 415 kB / 2.449 GB, free: 89.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/7.852, allocations: 0 / 2.449 GB, free: 89.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001399/7.852, allocations: 373.1 kB / 2.45 GB, free: 89.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/7.854, allocations: 0.6219 MB / 2.45 GB, free: 89.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/7.856, allocations: 1.225 MB / 2.451 GB, free: 88.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006225/7.863, allocations: 0.9783 MB / 2.452 GB, free: 88.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/7.863, allocations: 5.094 kB / 2.452 GB, free: 88.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02587/7.888, allocations: 2.94 MB / 2.455 GB, free: 88.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/7.89, allocations: 4.94 MB / 2.46 GB, free: 83.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.572e-05/7.89, allocations: 10.72 kB / 2.46 GB, free: 83.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/7.892, allocations: 0.7063 MB / 2.461 GB, free: 83.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/7.898, allocations: 499 kB / 2.461 GB, free: 83.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/7.901, allocations: 1.905 MB / 2.463 GB, free: 82.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009165/7.911, allocations: 467.2 kB / 2.464 GB, free: 82.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006802/7.911, allocations: 106 kB / 2.464 GB, free: 82.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/7.911, allocations: 3.75 kB / 2.464 GB, free: 82.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02465/7.936, allocations: 2.651 MB / 2.466 GB, free: 82.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/7.936, allocations: 11.75 kB / 2.466 GB, free: 82.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/7.939, allocations: 0.7089 MB / 2.467 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00514/7.944, allocations: 482.7 kB / 2.467 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/7.947, allocations: 1.903 MB / 2.469 GB, free: 81.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008019/7.955, allocations: 381 kB / 2.47 GB, free: 81.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006438/7.956, allocations: 104.8 kB / 2.47 GB, free: 81.09 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008664/7.957, allocations: 162.5 kB / 2.47 GB, free: 80.97 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01203/7.969, allocations: 1.84 MB / 2.472 GB, free: 80.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/7.97, allocations: 243.4 kB / 2.472 GB, free: 80.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02395/7.994, allocations: 2.435 MB / 2.474 GB, free: 80.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-05/7.995, allocations: 16.81 kB / 2.474 GB, free: 80.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/7.995, allocations: 3.219 kB / 2.474 GB, free: 80.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02232/8.017, allocations: 2.254 MB / 2.477 GB, free: 80.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/8.05, allocations: 6.844 MB / 2.483 GB, free: 78.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/8.051, allocations: 7.75 kB / 2.483 GB, free: 78.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005521/8.056, allocations: 290 kB / 2.484 GB, free: 78.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003926/8.06, allocations: 0.6989 MB / 2.484 GB, free: 78.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004872/8.061, allocations: 36.19 kB / 2.484 GB, free: 78.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/8.066, allocations: 1.9 MB / 2.486 GB, free: 77.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-05/8.067, allocations: 9.844 kB / 2.486 GB, free: 77.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/8.085, allocations: 3.413 MB / 2.489 GB, free: 75.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/8.088, allocations: 0.6324 MB / 2.49 GB, free: 75.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/8.09, allocations: 13.12 kB / 2.49 GB, free: 75.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01024/8.1, allocations: 265.1 kB / 2.49 GB, free: 75.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006131/8.101, allocations: 119.9 kB / 2.49 GB, free: 75.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004607/8.101, allocations: 74.2 kB / 2.49 GB, free: 75.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005183/8.106, allocations: 1.38 MB / 2.492 GB, free: 75.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.844e-06/8.106, allocations: 0 / 2.492 GB, free: 75.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01322/8.12, allocations: 1.823 MB / 2.494 GB, free: 75.21 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02317/8.143, allocations: 7.077 MB / 2.501 GB, free: 71.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0114/8.154, allocations: 2.636 MB / 2.503 GB, free: 71.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.78e-05/8.154, allocations: 4.125 kB / 2.503 GB, free: 71.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/8.157, allocations: 0.7678 MB / 2.504 GB, free: 71.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009455/8.166, allocations: 1.1 MB / 2.505 GB, free: 71.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/8.183, allocations: 4.293 MB / 2.509 GB, free: 69.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/8.185, allocations: 1.77 MB / 2.511 GB, free: 69.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007149/8.192, allocations: 0.7621 MB / 2.512 GB, free: 68.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/8.194, allocations: 1.089 MB / 2.513 GB, free: 68.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/8.195, allocations: 0 / 2.513 GB, free: 68.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.259/8.454, allocations: 87.72 MB / 2.598 GB, free: 54.62 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/8.454, allocations: 190.3 kB / 2.599 GB, free: 54.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/15.35, allocations: 0 / 2.599 GB, free: 54.43 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)