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: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.7 MB / 302.3 MB, free: 2.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.001176/0.001176, allocations: 182.5 kB / 371.6 MB, free: 3.406 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.842/1.842, allocations: 205.1 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.0009547/0.0009548, allocations: 94.23 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.922e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3017, allocations: 116.3 MB / 0.9798 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.868/2.169, allocations: 425.2 MB / 1.395 GB, free: 258.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/2.17, allocations: 92.89 kB / 1.395 GB, free: 258.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.299/5.469, allocations: 1.042 GB / 2.437 GB, free: 7.293 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/5.469, allocations: 0 / 2.437 GB, free: 7.293 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003226/5.469, allocations: 83.92 kB / 2.437 GB, free: 7.211 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.008231/5.478, allocations: 3.184 MB / 2.44 GB, free: 3.934 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/5.478, allocations: 15.97 kB / 2.44 GB, free: 3.918 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009727/5.487, allocations: 1.319 MB / 2.441 GB, free: 2.594 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007866/5.495, allocations: 3.313 MB / 2.445 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/5.496, allocations: 255.9 kB / 2.445 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006887/5.496, allocations: 232 kB / 2.445 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005629/5.502, allocations: 2.827 MB / 2.448 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/5.502, allocations: 7.938 kB / 2.448 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/5.502, allocations: 100 kB / 2.448 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/5.502, allocations: 71.98 kB / 2.448 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/5.507, allocations: 2.168 MB / 2.45 GB, free: 9.328 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.02267/5.529, allocations: 13.35 MB / 2.463 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/5.531, allocations: 1.239 MB / 2.464 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/5.532, allocations: 0.6585 MB / 2.465 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/5.534, allocations: 1.781 MB / 2.467 GB, free: 7.297 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/5.536, allocations: 0.9918 MB / 2.468 GB, free: 6.203 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 4.909e-06/5.536, allocations: 8 kB / 2.468 GB, free: 6.195 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.005438/5.541, allocations: 1.701 MB / 2.469 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004127/5.542, allocations: 0.9358 MB / 2.47 GB, free: 3.316 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/5.546, allocations: 2.246 MB / 2.472 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004667/5.547, allocations: 61.7 kB / 2.472 GB, free: 0.9883 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.7091/6.256, allocations: 1.351 MB / 2.474 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008163/6.257, allocations: 433.6 kB / 2.474 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/6.257, allocations: 34.75 kB / 2.474 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001266/6.257, allocations: 369.5 kB / 2.475 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/6.258, allocations: 0.6532 MB / 2.475 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/6.26, allocations: 1.272 MB / 2.476 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/6.261, allocations: 0.7844 MB / 2.477 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/6.261, allocations: 3.156 kB / 2.477 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01292/6.274, allocations: 2.892 MB / 2.48 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001084/6.275, allocations: 5.041 MB / 2.485 GB, free: 97.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/6.275, allocations: 12.03 kB / 2.485 GB, free: 97.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/6.278, allocations: 0.8126 MB / 2.486 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/6.282, allocations: 499.5 kB / 2.486 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/6.284, allocations: 1.801 MB / 2.488 GB, free: 96.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006075/6.29, allocations: 0.5362 MB / 2.489 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/6.29, allocations: 109 kB / 2.489 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/6.29, allocations: 3.062 kB / 2.489 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01238/6.303, allocations: 2.617 MB / 2.491 GB, free: 95.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/6.303, allocations: 12.66 kB / 2.491 GB, free: 95.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/6.306, allocations: 0.8231 MB / 2.492 GB, free: 95.86 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/6.309, allocations: 486.1 kB / 2.493 GB, free: 95.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/6.311, allocations: 1.805 MB / 2.494 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/6.316, allocations: 462.1 kB / 2.495 GB, free: 94.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005601/6.317, allocations: 107.9 kB / 2.495 GB, free: 94.75 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.000751/6.318, allocations: 213.8 kB / 2.495 GB, free: 94.64 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/6.319, allocations: 278.5 kB / 2.495 GB, free: 94.51 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/6.331, allocations: 2.311 MB / 2.498 GB, free: 94.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/6.331, allocations: 15.34 kB / 2.498 GB, free: 94.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/6.331, allocations: 7.438 kB / 2.498 GB, free: 94.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01049/6.341, allocations: 2.072 MB / 2.5 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/6.36, allocations: 7.013 MB / 2.506 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/6.36, allocations: 6.875 kB / 2.506 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/6.362, allocations: 295.9 kB / 2.507 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/6.364, allocations: 0.8087 MB / 2.508 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/6.365, allocations: 52.84 kB / 2.508 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/6.366, allocations: 1.794 MB / 2.509 GB, free: 91.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/6.366, allocations: 15.25 kB / 2.509 GB, free: 91.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/6.371, allocations: 3.393 MB / 2.513 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/6.374, allocations: 0.6701 MB / 2.513 GB, free: 89.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005682/6.374, allocations: 42.17 kB / 2.513 GB, free: 89.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/6.377, allocations: 291.6 kB / 2.514 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/6.378, allocations: 117.9 kB / 2.514 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/6.378, allocations: 74.77 kB / 2.514 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00273/6.381, allocations: 1.746 MB / 2.516 GB, free: 89.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.5e-07/6.381, allocations: 0 / 2.516 GB, free: 89.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007572/6.388, allocations: 1.855 MB / 2.517 GB, free: 89.11 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.003528/6.392, allocations: 1.502 MB / 2.519 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005452/6.397, allocations: 2.795 MB / 2.522 GB, free: 88.66 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/6.397, allocations: 3.375 kB / 2.522 GB, free: 88.66 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/6.399, allocations: 0.8054 MB / 2.522 GB, free: 88.65 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007721/6.407, allocations: 1.408 MB / 2.524 GB, free: 88.62 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009354/6.416, allocations: 3.797 MB / 2.527 GB, free: 87.49 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/6.417, allocations: 1.776 MB / 2.529 GB, free: 86.75 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005305/6.423, allocations: 0.8461 MB / 2.53 GB, free: 86.71 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/6.423, allocations: 186.9 kB / 2.53 GB, free: 86.71 MB / 0.9792 GB Notification: Performance of SimCode: time 1.172e-06/6.423, allocations: 2.156 kB / 2.53 GB, free: 86.71 MB / 0.9792 GB Notification: Performance of Templates: time 0.1487/6.572, allocations: 80.52 MB / 2.609 GB, free: 82.75 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)