Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009003/0.0008999, allocations: 100.5 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.0009379/0.0009378, allocations: 177.3 kB / 15.94 MB, free: 228 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.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.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.0004817/0.0004819, allocations: 11.72 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.09523/0.3015, allocations: 109.4 MB / 0.8939 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4311/0.7326, allocations: 21.13 MB / 0.9146 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006243/0.7389, allocations: 110.9 kB / 0.9147 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005911/0.7448, allocations: 1.459 MB / 0.9161 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01596/0.7608, allocations: 4.074 MB / 0.9201 GB, free: 39.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.7712, allocations: 3.157 MB / 0.9231 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.7832, allocations: 5.071 MB / 0.9281 GB, free: 39.89 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/0.7885, allocations: 2.282 MB / 0.9303 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/0.7962, allocations: 2.432 MB / 0.9327 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/0.8008, allocations: 1.575 MB / 0.9342 GB, free: 39.6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.8019, allocations: 131.2 kB / 0.9344 GB, free: 39.6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008442/0.8104, allocations: 1.749 MB / 0.9361 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.8123, allocations: 0.5706 MB / 0.9366 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.8145, allocations: 0.7314 MB / 0.9373 GB, free: 39.56 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.822, allocations: 4.577 MB / 0.9418 GB, free: 39.26 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.822, allocations: 0 / 0.9418 GB, free: 39.26 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8221, allocations: 0 / 0.9418 GB, free: 39.26 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001542/0.8222, allocations: 4 kB / 0.9418 GB, free: 39.25 MB / 0.7169 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.007622/0.8298, allocations: 3.356 MB / 0.9451 GB, free: 37.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8299, allocations: 8.312 kB / 0.9451 GB, free: 37.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.8409, allocations: 1.453 MB / 0.9465 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006238/0.8471, allocations: 2.708 MB / 0.9492 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.8475, allocations: 250.4 kB / 0.9494 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006281/0.8481, allocations: 238.7 kB / 0.9496 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008309/0.8564, allocations: 3.202 MB / 0.9528 GB, free: 36.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/0.8565, allocations: 10.52 kB / 0.9528 GB, free: 36.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.8569, allocations: 101 kB / 0.9529 GB, free: 36.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/0.857, allocations: 70.91 kB / 0.9529 GB, free: 36.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.8657, allocations: 2.886 MB / 0.9557 GB, free: 35.48 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.01866/0.8844, allocations: 13.55 MB / 0.969 GB, free: 27.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.8884, allocations: 1.519 MB / 0.9705 GB, free: 27.04 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.8897, allocations: 1.781 MB / 0.9722 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003514/0.8932, allocations: 1.243 MB / 0.9734 GB, free: 24.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 2.906e-06/0.8933, allocations: 0 / 0.9734 GB, free: 24.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.03829/0.9316, allocations: 5.969 MB / 0.9792 GB, free: 22.36 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.9317, allocations: 0.5817 MB / 0.9798 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/0.936, allocations: 2.582 MB / 0.9823 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004639/0.9365, allocations: 67.08 kB / 0.9824 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.9375, allocations: 1.349 MB / 0.9837 GB, free: 20.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.938, allocations: 456.7 kB / 0.9842 GB, free: 20.06 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.9381, allocations: 37.75 kB / 0.9842 GB, free: 20.06 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.9382, allocations: 367.8 kB / 0.9845 GB, free: 19.74 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/0.9417, allocations: 1.021 MB / 0.9855 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/0.9454, allocations: 1.607 MB / 0.9871 GB, free: 18.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.9489, allocations: 1.155 MB / 0.9882 GB, free: 18.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.949, allocations: 2.688 kB / 0.9882 GB, free: 18.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02028/0.9692, allocations: 4.143 MB / 0.9923 GB, free: 17.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007132/0.97, allocations: 5.027 MB / 0.9972 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.97, allocations: 13.38 kB / 0.9972 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.9731, allocations: 0.9527 MB / 0.9981 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.9758, allocations: 0.5059 MB / 0.9986 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.9785, allocations: 1.987 MB / 1.001 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/0.9837, allocations: 0.5405 MB / 1.001 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/0.9841, allocations: 106.2 kB / 1.001 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9841, allocations: 10.25 kB / 1.001 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01962/1.004, allocations: 3.863 MB / 1.005 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-05/1.004, allocations: 12 kB / 1.005 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/1.007, allocations: 0.9549 MB / 1.006 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/1.01, allocations: 0.4995 MB / 1.006 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/1.012, allocations: 1.993 MB / 1.008 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/1.017, allocations: 478.6 kB / 1.009 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/1.018, allocations: 112.7 kB / 1.009 GB, free: 2.504 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.001707/1.019, allocations: 0.7029 MB / 1.01 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007516/1.02, allocations: 268.8 kB / 1.01 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.031, allocations: 2.578 MB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/1.031, allocations: 12.05 kB / 1.012 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.031, allocations: 7.984 kB / 1.012 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01019/1.041, allocations: 2.193 MB / 1.015 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02819/1.069, allocations: 7.604 MB / 1.022 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.069, allocations: 8 kB / 1.022 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.071, allocations: 295.2 kB / 1.022 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/1.075, allocations: 0.9347 MB / 1.023 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/1.075, allocations: 55.94 kB / 1.023 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/1.078, allocations: 1.981 MB / 1.025 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.079, allocations: 10.44 kB / 1.025 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/1.091, allocations: 4.466 MB / 1.03 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.094, allocations: 0.6846 MB / 1.03 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.095, allocations: 36 kB / 1.03 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/1.098, allocations: 306 kB / 1.031 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/1.099, allocations: 122.4 kB / 1.031 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.099, allocations: 67.92 kB / 1.031 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003724/1.103, allocations: 1.82 MB / 1.032 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.91e-07/1.103, allocations: 4 kB / 1.032 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006046/1.109, allocations: 1.7 MB / 1.034 GB, free: 9.246 MB / 0.7481 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.001941/1.111, allocations: 0.8112 MB / 1.035 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.123, allocations: 3.76 MB / 1.039 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/1.123, allocations: 8.438 kB / 1.039 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003583/1.126, allocations: 1.098 MB / 1.04 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/1.133, allocations: 1.399 MB / 1.041 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.145, allocations: 5.951 MB / 1.047 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.147, allocations: 1.773 MB / 1.049 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003807/1.151, allocations: 0.7005 MB / 1.049 GB, free: 9.879 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007415/1.151, allocations: 227.3 kB / 1.05 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of SimCode: time 9.52e-07/1.151, allocations: 0 / 1.05 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of Templates: time 0.09371/1.245, allocations: 68.66 MB / 1.117 GB, free: 6.082 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: