Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.664/1.664, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008517, allocations: 90.36 kB / 0.7808 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 16 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7827, allocations: 120.3 MB / 1.026 GB, free: 56.65 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.821, allocations: 427.8 MB / 1.444 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.822, allocations: 91.53 kB / 1.444 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.711/5.532, allocations: 1.046 GB / 2.491 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.084e-06/5.532, allocations: 1.75 kB / 2.491 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003936/5.533, allocations: 82.38 kB / 2.491 GB, free: 99.14 MB / 0.9948 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.009549/5.542, allocations: 3.657 MB / 2.494 GB, free: 97.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/5.542, allocations: 9.875 kB / 2.494 GB, free: 97.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/5.552, allocations: 1.323 MB / 2.496 GB, free: 97.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/5.56, allocations: 3.322 MB / 2.499 GB, free: 97.06 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/5.56, allocations: 253.4 kB / 2.499 GB, free: 96.99 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00088/5.561, allocations: 234.2 kB / 2.499 GB, free: 96.99 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009393/5.57, allocations: 3.217 MB / 2.502 GB, free: 96.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-05/5.57, allocations: 5.438 kB / 2.502 GB, free: 96.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000549/5.571, allocations: 100.8 kB / 2.502 GB, free: 96.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/5.571, allocations: 76.72 kB / 2.503 GB, free: 96.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009542/5.581, allocations: 2.88 MB / 2.505 GB, free: 96.46 MB / 0.9948 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.023/5.604, allocations: 13.26 MB / 2.518 GB, free: 90.82 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/5.608, allocations: 1.586 MB / 2.52 GB, free: 90.61 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/5.611, allocations: 0.9499 MB / 2.521 GB, free: 90.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/5.613, allocations: 1.78 MB / 2.523 GB, free: 88.62 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004075/5.617, allocations: 1.294 MB / 2.524 GB, free: 88.32 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 9.338e-06/5.617, allocations: 1.25 kB / 2.524 GB, free: 88.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=122): time 0.03787/5.655, allocations: 6.15 MB / 2.53 GB, free: 87.92 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/5.655, allocations: 0.9358 MB / 2.531 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007075/5.662, allocations: 2.52 MB / 2.533 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005542/5.663, allocations: 64.86 kB / 2.533 GB, free: 86.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/5.665, allocations: 1.347 MB / 2.535 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008301/5.666, allocations: 437.8 kB / 2.535 GB, free: 85.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/5.666, allocations: 33.5 kB / 2.535 GB, free: 85.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001796/5.666, allocations: 371 kB / 2.535 GB, free: 85.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00419/5.67, allocations: 1.002 MB / 2.536 GB, free: 85.46 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/5.675, allocations: 1.626 MB / 2.538 GB, free: 84.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007702/5.683, allocations: 2.251 MB / 2.54 GB, free: 84.33 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.101e-05/5.683, allocations: 3.938 kB / 2.54 GB, free: 84.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01915/5.702, allocations: 3.642 MB / 2.544 GB, free: 84.08 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/5.702, allocations: 483.3 kB / 2.544 GB, free: 83.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/5.702, allocations: 12.22 kB / 2.544 GB, free: 83.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/5.706, allocations: 0.9627 MB / 2.545 GB, free: 83.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/5.709, allocations: 480.3 kB / 2.546 GB, free: 83.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/5.713, allocations: 1.994 MB / 2.548 GB, free: 82.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006142/5.719, allocations: 0.5239 MB / 2.548 GB, free: 82.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005608/5.719, allocations: 108 kB / 2.548 GB, free: 82.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/5.719, allocations: 3.906 kB / 2.548 GB, free: 82.35 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01617/5.736, allocations: 3.331 MB / 2.551 GB, free: 82.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/5.736, allocations: 11.72 kB / 2.551 GB, free: 82.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/5.739, allocations: 0.9563 MB / 2.552 GB, free: 82.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/5.741, allocations: 462 kB / 2.553 GB, free: 82.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/5.744, allocations: 1.997 MB / 2.555 GB, free: 81.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/5.75, allocations: 447.2 kB / 2.555 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005303/5.75, allocations: 109.8 kB / 2.555 GB, free: 81.11 MB / 0.9948 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.002594/5.753, allocations: 0.6937 MB / 2.556 GB, free: 80.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/5.754, allocations: 273.3 kB / 2.556 GB, free: 80.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/5.77, allocations: 2.939 MB / 2.559 GB, free: 80.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-05/5.77, allocations: 17.31 kB / 2.559 GB, free: 80.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/5.77, allocations: 6.125 kB / 2.559 GB, free: 80.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0143/5.784, allocations: 2.721 MB / 2.562 GB, free: 80.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/5.808, allocations: 7.618 MB / 2.569 GB, free: 78.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/5.808, allocations: 7.094 kB / 2.569 GB, free: 78.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/5.809, allocations: 297.2 kB / 2.569 GB, free: 78.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/5.813, allocations: 0.9378 MB / 2.57 GB, free: 78.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/5.813, allocations: 54.3 kB / 2.57 GB, free: 78.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/5.816, allocations: 1.975 MB / 2.572 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/5.816, allocations: 8.625 kB / 2.572 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/5.827, allocations: 3.679 MB / 2.576 GB, free: 76.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/5.83, allocations: 0.6488 MB / 2.577 GB, free: 76.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/5.831, allocations: 40.39 kB / 2.577 GB, free: 76.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004166/5.835, allocations: 297.9 kB / 2.577 GB, free: 76.45 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/5.835, allocations: 111 kB / 2.577 GB, free: 76.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/5.836, allocations: 76.42 kB / 2.577 GB, free: 76.43 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.004341/5.84, allocations: 1.74 MB / 2.579 GB, free: 76.29 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/5.84, allocations: 2.156 kB / 2.579 GB, free: 76.29 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008004/5.848, allocations: 1.783 MB / 2.581 GB, free: 76.03 MB / 0.9948 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.003298/5.851, allocations: 1.414 MB / 2.582 GB, free: 75.55 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01237/5.864, allocations: 3.643 MB / 2.585 GB, free: 75.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/5.864, allocations: 8.625 kB / 2.585 GB, free: 75.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003572/5.868, allocations: 1.093 MB / 2.587 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/5.878, allocations: 1.447 MB / 2.588 GB, free: 75.22 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/5.89, allocations: 5.954 MB / 2.594 GB, free: 72.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/5.892, allocations: 1.715 MB / 2.595 GB, free: 71.61 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004548/5.897, allocations: 0.6848 MB / 2.596 GB, free: 71.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/5.898, allocations: 237.7 kB / 2.596 GB, free: 71.46 MB / 0.9948 GB Notification: Performance of SimCode: time 8.82e-07/5.898, allocations: 4.75 kB / 2.596 GB, free: 71.46 MB / 0.9948 GB Notification: Performance of Templates: time 0.1066/6.004, allocations: 75.83 MB / 2.67 GB, free: 67.08 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)