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.846/1.846, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001209/0.001208, allocations: 184.6 kB / 371.6 MB, free: 3.34 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.904/1.904, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001012/0.001012, allocations: 92.02 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.052e-05/6.055e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3009, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.936/2.237, allocations: 425.2 MB / 1.395 GB, free: 258.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/2.237, allocations: 91.86 kB / 1.395 GB, free: 258.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.485/5.722, allocations: 1.042 GB / 2.437 GB, free: 7.305 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/5.722, allocations: 0 / 2.437 GB, free: 7.305 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002775/5.722, allocations: 87.84 kB / 2.437 GB, free: 7.219 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.00796/5.73, allocations: 3.188 MB / 2.44 GB, free: 3.938 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/5.73, allocations: 11.97 kB / 2.44 GB, free: 3.926 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006579/5.731, allocations: 324.8 kB / 2.44 GB, free: 3.598 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/5.741, allocations: 1.315 MB / 2.442 GB, free: 2.277 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009429/5.751, allocations: 3.313 MB / 2.445 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/5.751, allocations: 255.8 kB / 2.445 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006306/5.752, allocations: 232 kB / 2.445 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005854/5.758, allocations: 2.827 MB / 2.448 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/5.758, allocations: 7.938 kB / 2.448 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/5.758, allocations: 100 kB / 2.448 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/5.758, allocations: 67.94 kB / 2.448 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/5.762, allocations: 2.172 MB / 2.45 GB, free: 9.012 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.02263/5.785, allocations: 13.35 MB / 2.463 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/5.787, allocations: 1.229 MB / 2.465 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/5.788, allocations: 0.6624 MB / 2.465 GB, free: 9.152 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/5.79, allocations: 1.777 MB / 2.467 GB, free: 6.988 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/5.792, allocations: 0.9957 MB / 2.468 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 4.769e-06/5.792, allocations: 3.984 kB / 2.468 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.005645/5.797, allocations: 1.699 MB / 2.47 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000455/5.798, allocations: 0.9402 MB / 2.471 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/5.802, allocations: 2.246 MB / 2.473 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006776/5.803, allocations: 62.03 kB / 2.473 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.6705/6.474, allocations: 1.358 MB / 2.474 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/6.474, allocations: 424.9 kB / 2.475 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/6.475, allocations: 32.78 kB / 2.475 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001114/6.475, allocations: 375 kB / 2.475 GB, free: 103 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/6.476, allocations: 0.6442 MB / 2.476 GB, free: 103 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/6.478, allocations: 1.275 MB / 2.477 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/6.479, allocations: 0.7897 MB / 2.478 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/6.479, allocations: 3.469 kB / 2.478 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01338/6.492, allocations: 2.89 MB / 2.48 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/6.494, allocations: 5.038 MB / 2.485 GB, free: 96.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/6.494, allocations: 13.08 kB / 2.485 GB, free: 96.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/6.497, allocations: 0.8188 MB / 2.486 GB, free: 96.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/6.5, allocations: 0.4897 MB / 2.487 GB, free: 96.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/6.502, allocations: 1.801 MB / 2.488 GB, free: 95.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/6.507, allocations: 0.5351 MB / 2.489 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/6.508, allocations: 108.9 kB / 2.489 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/6.508, allocations: 3.688 kB / 2.489 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/6.52, allocations: 2.615 MB / 2.492 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-05/6.52, allocations: 12.28 kB / 2.492 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/6.523, allocations: 0.8234 MB / 2.492 GB, free: 95.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/6.526, allocations: 485.3 kB / 2.493 GB, free: 95.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/6.529, allocations: 1.799 MB / 2.495 GB, free: 94.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005491/6.534, allocations: 465.8 kB / 2.495 GB, free: 94.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004966/6.535, allocations: 109.1 kB / 2.495 GB, free: 94.46 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 () * 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.0007302/6.535, allocations: 221.9 kB / 2.495 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000998/6.536, allocations: 276 kB / 2.496 GB, free: 94.22 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/6.549, allocations: 2.309 MB / 2.498 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/6.549, allocations: 15.09 kB / 2.498 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/6.549, allocations: 5.906 kB / 2.498 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01105/6.56, allocations: 2.073 MB / 2.5 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/6.579, allocations: 7.021 MB / 2.507 GB, free: 91.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/6.579, allocations: 6.281 kB / 2.507 GB, free: 91.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/6.581, allocations: 294.5 kB / 2.507 GB, free: 91.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/6.583, allocations: 0.809 MB / 2.508 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/6.584, allocations: 50.73 kB / 2.508 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/6.585, allocations: 1.796 MB / 2.51 GB, free: 90.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/6.585, allocations: 9.844 kB / 2.51 GB, free: 90.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/6.59, allocations: 3.397 MB / 2.513 GB, free: 89.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/6.593, allocations: 0.6694 MB / 2.514 GB, free: 89.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007786/6.593, allocations: 33.34 kB / 2.514 GB, free: 89.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/6.597, allocations: 301.7 kB / 2.514 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/6.597, allocations: 116.6 kB / 2.514 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/6.597, allocations: 72.39 kB / 2.514 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00287/6.6, allocations: 1.739 MB / 2.516 GB, free: 88.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2e-07/6.6, allocations: 3.625 kB / 2.516 GB, free: 88.91 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006911/6.607, allocations: 1.85 MB / 2.518 GB, free: 88.83 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) * 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.008212/6.615, allocations: 6.952 MB / 2.525 GB, free: 85.21 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005352/6.621, allocations: 2.793 MB / 2.527 GB, free: 85.04 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/6.621, allocations: 6.719 kB / 2.527 GB, free: 85.04 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/6.622, allocations: 0.8066 MB / 2.528 GB, free: 85.03 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007539/6.63, allocations: 1.407 MB / 2.529 GB, free: 85 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/6.642, allocations: 4.481 MB / 2.534 GB, free: 83.81 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/6.644, allocations: 1.775 MB / 2.536 GB, free: 83.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005216/6.649, allocations: 0.8467 MB / 2.536 GB, free: 83.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/6.65, allocations: 1.109 MB / 2.537 GB, free: 83.04 MB / 0.9792 GB Notification: Performance of SimCode: time 1.493e-06/6.65, allocations: 0 / 2.537 GB, free: 83.04 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1774/6.828, allocations: 106.4 MB / 2.641 GB, free: 78.06 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/6.828, allocations: 232.1 kB / 2.642 GB, free: 77.75 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.115/12.94, allocations: 2.875 kB / 2.642 GB, free: 77.75 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)