Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009779/0.0009779, allocations: 166.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006984/0.0006985, allocations: 81.55 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 11.28 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2276, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1148/0.3424, allocations: 129.6 MB / 1.023 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03894/0.3814, allocations: 25.31 MB / 1.048 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006405/0.3879, allocations: 119.2 kB / 1.048 GB, free: 8.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005577/0.3935, allocations: 1.414 MB / 1.05 GB, free: 7.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.4073, allocations: 4.124 MB / 1.054 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4789/0.8862, allocations: 3.165 MB / 1.057 GB, free: 42.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01739/0.9036, allocations: 11.37 MB / 1.068 GB, free: 42.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006515/0.9102, allocations: 2.482 MB / 1.07 GB, free: 41.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008519/0.9187, allocations: 2.795 MB / 1.073 GB, free: 41.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00588/0.9247, allocations: 2.304 MB / 1.075 GB, free: 41.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.9262, allocations: 134.2 kB / 1.075 GB, free: 41.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00844/0.9346, allocations: 2.574 MB / 1.078 GB, free: 41.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.9364, allocations: 0.6159 MB / 1.078 GB, free: 41.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004767/0.9412, allocations: 1.678 MB / 1.08 GB, free: 41.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008271/0.9495, allocations: 4.883 MB / 1.085 GB, free: 40.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9495, allocations: 3.938 kB / 1.085 GB, free: 40.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9496, allocations: 2.438 kB / 1.085 GB, free: 40.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002555/0.9498, allocations: 0 / 1.085 GB, free: 40.88 MB / 0.698 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.00931/0.9591, allocations: 3.399 MB / 1.088 GB, free: 39.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.9592, allocations: 10.38 kB / 1.088 GB, free: 39.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.9708, allocations: 1.454 MB / 1.09 GB, free: 38.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006768/0.9776, allocations: 2.913 MB / 1.092 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/0.9781, allocations: 262.5 kB / 1.093 GB, free: 38.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009954/0.9791, allocations: 235 kB / 1.093 GB, free: 38.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.9895, allocations: 3.21 MB / 1.096 GB, free: 37.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.9897, allocations: 6.5 kB / 1.096 GB, free: 37.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006304/0.9903, allocations: 97.41 kB / 1.096 GB, free: 37.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.9905, allocations: 72.41 kB / 1.096 GB, free: 37.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/1.002, allocations: 2.897 MB / 1.099 GB, free: 37.58 MB / 0.698 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.02422/1.026, allocations: 13.44 MB / 1.112 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/1.031, allocations: 1.529 MB / 1.114 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/1.034, allocations: 0.966 MB / 1.115 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/1.035, allocations: 1.787 MB / 1.116 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003869/1.039, allocations: 1.219 MB / 1.118 GB, free: 27.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 7.034e-06/1.039, allocations: 1.859 kB / 1.118 GB, free: 27.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.04039/1.08, allocations: 6.025 MB / 1.123 GB, free: 25.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.08, allocations: 0.5769 MB / 1.124 GB, free: 24.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005069/1.085, allocations: 2.498 MB / 1.126 GB, free: 24.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004271/1.085, allocations: 64.67 kB / 1.126 GB, free: 24.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/1.087, allocations: 1.351 MB / 1.128 GB, free: 23.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006981/1.087, allocations: 450.9 kB / 1.128 GB, free: 23.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/1.088, allocations: 155.9 kB / 1.128 GB, free: 23.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.088, allocations: 304.7 kB / 1.129 GB, free: 22.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003946/1.092, allocations: 1.025 MB / 1.13 GB, free: 22.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004321/1.096, allocations: 1.629 MB / 1.131 GB, free: 21.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007754/1.104, allocations: 2.338 MB / 1.134 GB, free: 21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/1.104, allocations: 3.562 kB / 1.134 GB, free: 21 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02382/1.128, allocations: 4.225 MB / 1.138 GB, free: 17.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003351/1.128, allocations: 479.2 kB / 1.138 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/1.128, allocations: 12 kB / 1.138 GB, free: 17.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/1.132, allocations: 0.9224 MB / 1.139 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/1.134, allocations: 0.4972 MB / 1.14 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/1.138, allocations: 1.998 MB / 1.141 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/1.143, allocations: 0.5346 MB / 1.142 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004394/1.143, allocations: 107.3 kB / 1.142 GB, free: 13.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.143, allocations: 4 kB / 1.142 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02292/1.166, allocations: 3.944 MB / 1.146 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/1.166, allocations: 12 kB / 1.146 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.169, allocations: 0.9144 MB / 1.147 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/1.172, allocations: 0.493 MB / 1.147 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/1.175, allocations: 1.995 MB / 1.149 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004991/1.18, allocations: 485.6 kB / 1.15 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/1.181, allocations: 108.1 kB / 1.15 GB, free: 6.965 MB / 0.698 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.001825/1.183, allocations: 0.6987 MB / 1.151 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.184, allocations: 272.8 kB / 1.151 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.195, allocations: 2.576 MB / 1.153 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.195, allocations: 24 kB / 1.153 GB, free: 3.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.195, allocations: 4 kB / 1.153 GB, free: 3.426 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009706/1.205, allocations: 2.185 MB / 1.155 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02919/1.234, allocations: 7.551 MB / 1.163 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/1.234, allocations: 8 kB / 1.163 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/1.236, allocations: 295.4 kB / 1.163 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/1.239, allocations: 0.9 MB / 1.164 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/1.24, allocations: 55.94 kB / 1.164 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/1.243, allocations: 1.985 MB / 1.166 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-05/1.243, allocations: 11.09 kB / 1.166 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.257, allocations: 3.729 MB / 1.17 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.26, allocations: 0.5794 MB / 1.17 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.261, allocations: 36 kB / 1.17 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005505/1.266, allocations: 295.5 kB / 1.171 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/1.267, allocations: 119.2 kB / 1.171 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/1.267, allocations: 71.92 kB / 1.171 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005207/1.272, allocations: 1.755 MB / 1.172 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.11e-07/1.272, allocations: 0 / 1.172 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008259/1.281, allocations: 1.731 MB / 1.174 GB, free: 13.91 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00305/1.284, allocations: 0.876 MB / 1.175 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01795/1.302, allocations: 3.782 MB / 1.179 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/1.302, allocations: 0 / 1.179 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005237/1.307, allocations: 1.049 MB / 1.18 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01611/1.323, allocations: 1.447 MB / 1.181 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.342, allocations: 6.188 MB / 1.187 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.344, allocations: 1.704 MB / 1.189 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.346, allocations: 283.2 kB / 1.189 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/1.346, allocations: 0 / 1.189 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.1281/1.474, allocations: 81.17 MB / 1.268 GB, free: 14.02 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)