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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009823/0.000982, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 251.9 MB / 0.51 GB, free: 4.906 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006073/0.0006075, allocations: 19.98 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5709, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1075/0.6784, allocations: 109.4 MB / 0.8348 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03437/0.7129, allocations: 21.46 MB / 0.8557 GB, free: 8.281 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006391/0.7193, allocations: 107.2 kB / 0.8559 GB, free: 8.176 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00619/0.7255, allocations: 1.457 MB / 0.8573 GB, free: 6.711 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01543/0.741, allocations: 4.078 MB / 0.8613 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.7518, allocations: 3.102 MB / 0.8643 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01263/0.7645, allocations: 5.054 MB / 0.8692 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006849/0.7714, allocations: 2.27 MB / 0.8714 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007054/0.7784, allocations: 2.413 MB / 0.8738 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00435/0.7828, allocations: 1.567 MB / 0.8753 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.7841, allocations: 132 kB / 0.8755 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007115/0.7912, allocations: 1.861 MB / 0.8773 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.7928, allocations: 0.5563 MB / 0.8778 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.7948, allocations: 0.7343 MB / 0.8785 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009094/0.8039, allocations: 4.609 MB / 0.883 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.804, allocations: 0 / 0.883 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.408e-06/0.804, allocations: 4 kB / 0.883 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002116/0.8042, allocations: 0 / 0.883 GB, free: 12.28 MB / 0.7012 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.01017/0.8144, allocations: 3.39 MB / 0.8863 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.8144, allocations: 16.02 kB / 0.8864 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.8262, allocations: 1.448 MB / 0.8878 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.8336, allocations: 2.694 MB / 0.8904 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005796/0.8342, allocations: 256 kB / 0.8906 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008474/0.8351, allocations: 236 kB / 0.8909 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.8452, allocations: 3.177 MB / 0.894 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.8453, allocations: 7.938 kB / 0.894 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005927/0.846, allocations: 99.98 kB / 0.8941 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.963e-05/0.8461, allocations: 68 kB / 0.8941 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.8567, allocations: 2.882 MB / 0.897 GB, free: 13.62 MB / 0.7169 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.3982/1.255, allocations: 13.51 MB / 0.9101 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/1.261, allocations: 1.527 MB / 0.9116 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/1.262, allocations: 1.785 MB / 0.9134 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004352/1.267, allocations: 1.203 MB / 0.9146 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 5.16e-06/1.267, allocations: 0 / 0.9146 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.04181/1.309, allocations: 5.988 MB / 0.9204 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.309, allocations: 0.579 MB / 0.921 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/1.313, allocations: 2.584 MB / 0.9235 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000396/1.313, allocations: 63.33 kB / 0.9236 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/1.314, allocations: 1.336 MB / 0.9249 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/1.315, allocations: 461.9 kB / 0.9253 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.315, allocations: 35.53 kB / 0.9253 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/1.315, allocations: 372.6 kB / 0.9257 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/1.319, allocations: 1.018 MB / 0.9267 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/1.323, allocations: 1.611 MB / 0.9283 GB, free: 161 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/1.326, allocations: 1.156 MB / 0.9294 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.326, allocations: 0 / 0.9294 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02036/1.347, allocations: 4.146 MB / 0.9334 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.348, allocations: 5.015 MB / 0.9383 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/1.348, allocations: 11.84 kB / 0.9383 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/1.351, allocations: 0.9206 MB / 0.9392 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/1.354, allocations: 0.5085 MB / 0.9397 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/1.356, allocations: 1.993 MB / 0.9417 GB, free: 151 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/1.361, allocations: 0.5334 MB / 0.9422 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/1.362, allocations: 109.7 kB / 0.9423 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.362, allocations: 7.766 kB / 0.9423 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01995/1.382, allocations: 3.862 MB / 0.9461 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/1.382, allocations: 12.94 kB / 0.9461 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/1.385, allocations: 0.9209 MB / 0.947 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.387, allocations: 0.507 MB / 0.9475 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/1.39, allocations: 1.979 MB / 0.9494 GB, free: 145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/1.395, allocations: 484.3 kB / 0.9499 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/1.395, allocations: 103.9 kB / 0.95 GB, free: 144.5 MB / 0.7169 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.001471/1.396, allocations: 0.6998 MB / 0.9507 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/1.397, allocations: 272.7 kB / 0.9509 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.407, allocations: 2.566 MB / 0.9534 GB, free: 140.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.407, allocations: 16 kB / 0.9535 GB, free: 140.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.408, allocations: 5.859 kB / 0.9535 GB, free: 140.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009162/1.417, allocations: 2.192 MB / 0.9556 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.443, allocations: 7.58 MB / 0.963 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/1.443, allocations: 8.656 kB / 0.963 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.445, allocations: 303.5 kB / 0.9633 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/1.448, allocations: 0.8909 MB / 0.9642 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.448, allocations: 51.94 kB / 0.9642 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/1.451, allocations: 1.98 MB / 0.9662 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.451, allocations: 11.94 kB / 0.9662 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.462, allocations: 4.45 MB / 0.9705 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.464, allocations: 0.6768 MB / 0.9712 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/1.464, allocations: 39.98 kB / 0.9712 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/1.467, allocations: 298.9 kB / 0.9715 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.468, allocations: 124.6 kB / 0.9716 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.468, allocations: 63.94 kB / 0.9717 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002577/1.47, allocations: 1.817 MB / 0.9734 GB, free: 119.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.523e-06/1.47, allocations: 0 / 0.9734 GB, free: 119.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004239/1.475, allocations: 1.754 MB / 0.9752 GB, free: 118 MB / 0.7169 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.001596/1.476, allocations: 0.8839 MB / 0.976 GB, free: 117.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.488, allocations: 3.766 MB / 0.9797 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/1.488, allocations: 4 kB / 0.9797 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003568/1.492, allocations: 1.106 MB / 0.9808 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007694/1.499, allocations: 1.388 MB / 0.9821 GB, free: 111 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.513, allocations: 5.951 MB / 0.988 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/1.515, allocations: 1.773 MB / 0.9897 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003659/1.518, allocations: 0.6811 MB / 0.9904 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/1.519, allocations: 231.3 kB / 0.9906 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/1.519, allocations: 0 / 0.9906 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.09175/1.611, allocations: 68.46 MB / 1.057 GB, free: 34.61 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: