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.385/1.385, allocations: 252 MB / 268 MB, free: 10.87 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.001002/0.001002, allocations: 178.5 kB / 327.6 MB, free: 2.109 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.626/1.626, allocations: 205.4 MB / 0.5786 GB, free: 20.09 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.0008137/0.0008136, allocations: 93.97 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003251, allocations: 13.97 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1878, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.108/0.2958, allocations: 127.9 MB / 1.026 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03582/0.3317, allocations: 25.01 MB / 1.051 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005876/0.3376, allocations: 119.2 kB / 1.051 GB, free: 5.996 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005281/0.3429, allocations: 1.414 MB / 1.052 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.3574, allocations: 4.128 MB / 1.056 GB, free: 444 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4164/0.7738, allocations: 3.168 MB / 1.059 GB, free: 40.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01567/0.7895, allocations: 11.37 MB / 1.071 GB, free: 40.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006501/0.796, allocations: 2.505 MB / 1.073 GB, free: 40.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008641/0.8047, allocations: 2.802 MB / 1.076 GB, free: 40.08 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.8105, allocations: 2.306 MB / 1.078 GB, free: 39.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.812, allocations: 128.2 kB / 1.078 GB, free: 39.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008581/0.8206, allocations: 2.577 MB / 1.081 GB, free: 39.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.8223, allocations: 0.6138 MB / 1.081 GB, free: 39.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004839/0.8271, allocations: 1.696 MB / 1.083 GB, free: 39.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008226/0.8354, allocations: 4.886 MB / 1.088 GB, free: 39.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.8354, allocations: 4 kB / 1.088 GB, free: 39.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8354, allocations: 0.8125 kB / 1.088 GB, free: 39.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002035/0.8357, allocations: 0 / 1.088 GB, free: 39.12 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.00782/0.8435, allocations: 3.409 MB / 1.091 GB, free: 37.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8435, allocations: 7.375 kB / 1.091 GB, free: 37.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.8542, allocations: 1.457 MB / 1.092 GB, free: 37.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007749/0.862, allocations: 2.912 MB / 1.095 GB, free: 36.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000488/0.8625, allocations: 256.2 kB / 1.095 GB, free: 36.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.8637, allocations: 247.5 kB / 1.096 GB, free: 36.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009851/0.8736, allocations: 3.211 MB / 1.099 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.717e-05/0.8737, allocations: 7.094 kB / 1.099 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/0.8741, allocations: 104.9 kB / 1.099 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.8742, allocations: 68.8 kB / 1.099 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.8843, allocations: 2.897 MB / 1.102 GB, free: 35.81 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.01934/0.9036, allocations: 13.42 MB / 1.115 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.9078, allocations: 1.526 MB / 1.116 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.9109, allocations: 0.9662 MB / 1.117 GB, free: 27.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.9124, allocations: 1.793 MB / 1.119 GB, free: 25.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003467/0.9158, allocations: 1.212 MB / 1.12 GB, free: 24.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 8.205e-06/0.9159, allocations: 3.984 kB / 1.12 GB, free: 24.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.03849/0.9544, allocations: 6.031 MB / 1.126 GB, free: 22.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.9545, allocations: 0.5848 MB / 1.127 GB, free: 22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/0.9585, allocations: 2.501 MB / 1.129 GB, free: 21.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003788/0.9589, allocations: 58.11 kB / 1.129 GB, free: 21.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/0.9598, allocations: 1.348 MB / 1.131 GB, free: 20.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.9603, allocations: 453.6 kB / 1.131 GB, free: 20.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.9605, allocations: 34.75 kB / 1.131 GB, free: 20.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.9606, allocations: 377.1 kB / 1.131 GB, free: 20.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/0.9641, allocations: 1.035 MB / 1.132 GB, free: 19.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/0.968, allocations: 1.624 MB / 1.134 GB, free: 19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006698/0.9747, allocations: 2.333 MB / 1.136 GB, free: 17.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9747, allocations: 4 kB / 1.136 GB, free: 17.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02065/0.9954, allocations: 4.173 MB / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.9956, allocations: 478.2 kB / 1.141 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.9957, allocations: 12 kB / 1.141 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/0.9987, allocations: 0.9188 MB / 1.142 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/1.002, allocations: 0.4994 MB / 1.142 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/1.004, allocations: 1.988 MB / 1.144 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00495/1.009, allocations: 0.5406 MB / 1.145 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/1.01, allocations: 103.1 kB / 1.145 GB, free: 10.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.01, allocations: 7.844 kB / 1.145 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01997/1.03, allocations: 3.877 MB / 1.149 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/1.03, allocations: 12 kB / 1.149 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/1.033, allocations: 0.9147 MB / 1.15 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/1.035, allocations: 0.4956 MB / 1.15 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/1.038, allocations: 2.003 MB / 1.152 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004835/1.043, allocations: 475.3 kB / 1.152 GB, free: 3.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/1.044, allocations: 103.1 kB / 1.152 GB, free: 3.859 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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.001767/1.045, allocations: 0.7016 MB / 1.153 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007438/1.046, allocations: 276.8 kB / 1.153 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.056, allocations: 2.575 MB / 1.156 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/1.056, allocations: 16 kB / 1.156 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.056, allocations: 4 kB / 1.156 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00994/1.066, allocations: 2.197 MB / 1.158 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.093, allocations: 7.541 MB / 1.165 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.093, allocations: 11.56 kB / 1.165 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.095, allocations: 295.2 kB / 1.166 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/1.099, allocations: 0.9043 MB / 1.167 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/1.099, allocations: 51.94 kB / 1.167 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/1.102, allocations: 1.984 MB / 1.169 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.102, allocations: 14.69 kB / 1.169 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.114, allocations: 3.725 MB / 1.172 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.116, allocations: 0.6574 MB / 1.173 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/1.116, allocations: 36 kB / 1.173 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/1.12, allocations: 296.4 kB / 1.173 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.12, allocations: 123.8 kB / 1.173 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.12, allocations: 75.92 kB / 1.173 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003124/1.123, allocations: 1.747 MB / 1.175 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.753e-06/1.123, allocations: 0 / 1.175 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005062/1.128, allocations: 1.746 MB / 1.177 GB, free: 10.95 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.001949/1.13, allocations: 0.8578 MB / 1.178 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.143, allocations: 3.793 MB / 1.181 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/1.143, allocations: 3.266 kB / 1.181 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.146, allocations: 1.043 MB / 1.182 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009926/1.156, allocations: 1.449 MB / 1.184 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.168, allocations: 6.301 MB / 1.19 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.17, allocations: 1.711 MB / 1.192 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.171, allocations: 279.2 kB / 1.192 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/1.171, allocations: 0 / 1.192 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.09751/1.268, allocations: 81.18 MB / 1.271 GB, free: 10.93 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)