Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.00117/0.00117, allocations: 181 kB / 371.9 MB, free: 10.28 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.685/1.685, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009902/0.0009903, allocations: 105.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 20.14 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.5861/0.8246, allocations: 109.4 MB / 1.086 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03295/0.8576, allocations: 21.16 MB / 1.107 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005213/0.8629, allocations: 109.1 kB / 1.107 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005318/0.8682, allocations: 1.464 MB / 1.108 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.8853, allocations: 4.066 MB / 1.112 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.8963, allocations: 3.152 MB / 1.115 GB, free: 28.63 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.9072, allocations: 5.071 MB / 1.12 GB, free: 27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004521/0.9118, allocations: 2.277 MB / 1.123 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007914/0.9197, allocations: 2.431 MB / 1.125 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.924, allocations: 1.576 MB / 1.127 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008483/0.9248, allocations: 133.9 kB / 1.127 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/0.9313, allocations: 1.741 MB / 1.128 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009653/0.9323, allocations: 0.574 MB / 1.129 GB, free: 23.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.9343, allocations: 0.7277 MB / 1.13 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007257/0.9415, allocations: 4.584 MB / 1.134 GB, free: 20.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9416, allocations: 0 / 1.134 GB, free: 20.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9416, allocations: 7.938 kB / 1.134 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001683/0.9418, allocations: 0 / 1.134 GB, free: 20.73 MB / 0.6823 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.00879/0.9506, allocations: 3.354 MB / 1.137 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.9506, allocations: 9.312 kB / 1.137 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.962, allocations: 1.457 MB / 1.139 GB, free: 17.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.9679, allocations: 2.703 MB / 1.141 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.9682, allocations: 257.3 kB / 1.142 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005386/0.9687, allocations: 236.3 kB / 1.142 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00806/0.9768, allocations: 3.2 MB / 1.145 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.9769, allocations: 6.688 kB / 1.145 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.9772, allocations: 99.5 kB / 1.145 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-05/0.9773, allocations: 79.88 kB / 1.145 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009205/0.9865, allocations: 2.879 MB / 1.148 GB, free: 11.7 MB / 0.6823 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.01872/1.005, allocations: 13.54 MB / 1.161 GB, free: 156 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/1.01, allocations: 1.53 MB / 1.163 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/1.011, allocations: 1.783 MB / 1.165 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003787/1.015, allocations: 1.244 MB / 1.166 GB, free: 12.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 3.677e-06/1.015, allocations: 0 / 1.166 GB, free: 12.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.04036/1.056, allocations: 5.975 MB / 1.172 GB, free: 9.457 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002851/1.056, allocations: 0.5805 MB / 1.172 GB, free: 8.742 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/1.061, allocations: 2.586 MB / 1.175 GB, free: 6.137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005856/1.061, allocations: 61.7 kB / 1.175 GB, free: 6.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/1.063, allocations: 1.344 MB / 1.176 GB, free: 4.711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006611/1.063, allocations: 453.5 kB / 1.176 GB, free: 4.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.064, allocations: 36 kB / 1.176 GB, free: 4.227 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.064, allocations: 373.9 kB / 1.177 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0039/1.068, allocations: 1.023 MB / 1.178 GB, free: 2.832 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/1.072, allocations: 1.603 MB / 1.179 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/1.076, allocations: 1.155 MB / 1.181 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.076, allocations: 8 kB / 1.181 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02239/1.099, allocations: 4.139 MB / 1.185 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001891/1.101, allocations: 5.02 MB / 1.189 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.101, allocations: 12 kB / 1.19 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003493/1.104, allocations: 0.9548 MB / 1.19 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.107, allocations: 0.5109 MB / 1.191 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/1.11, allocations: 1.987 MB / 1.193 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006025/1.116, allocations: 0.5372 MB / 1.193 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/1.117, allocations: 107.9 kB / 1.194 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.117, allocations: 4 kB / 1.194 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02088/1.138, allocations: 3.863 MB / 1.197 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/1.138, allocations: 12 kB / 1.197 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/1.141, allocations: 0.9627 MB / 1.198 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.144, allocations: 0.507 MB / 1.199 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/1.147, allocations: 1.99 MB / 1.201 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/1.153, allocations: 485.6 kB / 1.201 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/1.153, allocations: 107.8 kB / 1.201 GB, free: 10.07 MB / 0.7292 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 (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.001684/1.155, allocations: 0.6935 MB / 1.202 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007384/1.155, allocations: 276.8 kB / 1.202 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/1.167, allocations: 2.585 MB / 1.205 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/1.167, allocations: 12 kB / 1.205 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.167, allocations: 4 kB / 1.205 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01026/1.177, allocations: 2.189 MB / 1.207 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.207, allocations: 7.6 MB / 1.214 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.207, allocations: 8 kB / 1.214 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.209, allocations: 296.3 kB / 1.215 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/1.212, allocations: 0.9428 MB / 1.215 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/1.212, allocations: 55.94 kB / 1.216 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/1.215, allocations: 1.981 MB / 1.217 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.215, allocations: 15.92 kB / 1.217 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.228, allocations: 4.452 MB / 1.222 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.23, allocations: 0.6846 MB / 1.223 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/1.231, allocations: 47.94 kB / 1.223 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003928/1.235, allocations: 297.5 kB / 1.223 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/1.235, allocations: 116.7 kB / 1.223 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/1.236, allocations: 75.86 kB / 1.223 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003377/1.239, allocations: 1.817 MB / 1.225 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.239, allocations: 4 kB / 1.225 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005898/1.245, allocations: 1.696 MB / 1.226 GB, free: 15.48 MB / 0.7605 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 (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.001963/1.247, allocations: 0.8221 MB / 1.227 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.26, allocations: 3.763 MB / 1.231 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.26, allocations: 4.438 kB / 1.231 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003751/1.264, allocations: 1.103 MB / 1.232 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007226/1.271, allocations: 1.388 MB / 1.233 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/1.284, allocations: 5.95 MB / 1.239 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.285, allocations: 1.773 MB / 1.241 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003817/1.289, allocations: 0.6979 MB / 1.242 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/1.289, allocations: 231.2 kB / 1.242 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/1.289, allocations: 8 kB / 1.242 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.1189/1.408, allocations: 68.65 MB / 1.309 GB, free: 11.43 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)