Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001067/0.001067, allocations: 186 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.65/1.65, allocations: 205.4 MB / 0.6306 GB, free: 10 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.000882/0.0008824, allocations: 94.95 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 11.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5948/0.8257, allocations: 109.3 MB / 1.086 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02997/0.8557, allocations: 21.14 MB / 1.107 GB, free: 31.37 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00531/0.8611, allocations: 113.2 kB / 1.107 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007097/0.8682, allocations: 1.454 MB / 1.108 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.8831, allocations: 4.077 MB / 1.112 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.8938, allocations: 3.147 MB / 1.115 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.9041, allocations: 5.053 MB / 1.12 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.9081, allocations: 2.268 MB / 1.123 GB, free: 26.28 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/0.914, allocations: 2.415 MB / 1.125 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.9176, allocations: 1.575 MB / 1.126 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006848/0.9184, allocations: 128.9 kB / 1.127 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006374/0.9247, allocations: 1.737 MB / 1.128 GB, free: 24.28 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.9256, allocations: 0.5696 MB / 1.129 GB, free: 23.97 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.9276, allocations: 0.7316 MB / 1.13 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007214/0.9348, allocations: 4.563 MB / 1.134 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9348, allocations: 0 / 1.134 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9349, allocations: 0 / 1.134 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001211/0.935, allocations: 1.094 kB / 1.134 GB, free: 20.82 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006813/0.9418, allocations: 3.353 MB / 1.137 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9419, allocations: 10 kB / 1.137 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.9525, allocations: 1.457 MB / 1.139 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/0.9578, allocations: 2.697 MB / 1.141 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.9581, allocations: 250.9 kB / 1.142 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004029/0.9585, allocations: 242.1 kB / 1.142 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.9659, allocations: 3.207 MB / 1.145 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.9659, allocations: 10.53 kB / 1.145 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/0.9662, allocations: 98.84 kB / 1.145 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-05/0.9663, allocations: 73.8 kB / 1.145 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00871/0.975, allocations: 2.878 MB / 1.148 GB, free: 11.76 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.01813/0.9932, allocations: 13.72 MB / 1.161 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.9975, allocations: 1.508 MB / 1.163 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/0.9996, allocations: 1.783 MB / 1.165 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004289/1.004, allocations: 1.211 MB / 1.166 GB, free: 12.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.05e-06/1.004, allocations: 3.938 kB / 1.166 GB, free: 12.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.05447/1.058, allocations: 11.82 MB / 1.177 GB, free: 3.477 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/1.059, allocations: 0.5843 MB / 1.178 GB, free: 2.758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/1.063, allocations: 2.682 MB / 1.18 GB, free: 60 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003712/1.063, allocations: 61.75 kB / 1.181 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.064, allocations: 1.322 MB / 1.182 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/1.065, allocations: 445.6 kB / 1.182 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.065, allocations: 36 kB / 1.182 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.065, allocations: 377.9 kB / 1.183 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003673/1.069, allocations: 0.9954 MB / 1.184 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/1.073, allocations: 1.585 MB / 1.185 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.077, allocations: 1.128 MB / 1.186 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.077, allocations: 4 kB / 1.186 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02331/1.1, allocations: 4.241 MB / 1.19 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001878/1.102, allocations: 5.245 MB / 1.196 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/1.102, allocations: 12 kB / 1.196 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/1.106, allocations: 1.166 MB / 1.197 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.109, allocations: 467.2 kB / 1.197 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/1.114, allocations: 2.39 MB / 1.199 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005807/1.119, allocations: 416.3 kB / 1.2 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005091/1.12, allocations: 107.9 kB / 1.2 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.12, allocations: 4 kB / 1.2 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02384/1.144, allocations: 3.964 MB / 1.204 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.158e-05/1.144, allocations: 12 kB / 1.204 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004289/1.148, allocations: 1.161 MB / 1.205 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/1.151, allocations: 463.2 kB / 1.205 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/1.156, allocations: 2.382 MB / 1.208 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/1.161, allocations: 395.1 kB / 1.208 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005319/1.161, allocations: 99.91 kB / 1.208 GB, free: 2.805 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (164): * Single equations (assignments): 161 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.00211/1.164, allocations: 0.6982 MB / 1.209 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.165, allocations: 280.6 kB / 1.209 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.182, allocations: 3.046 MB / 1.212 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-05/1.182, allocations: 12.25 kB / 1.212 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.182, allocations: 4 kB / 1.212 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01564/1.198, allocations: 2.642 MB / 1.215 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.222, allocations: 7.044 MB / 1.222 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/1.222, allocations: 8.609 kB / 1.222 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.224, allocations: 287.5 kB / 1.222 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003781/1.228, allocations: 1.013 MB / 1.223 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.228, allocations: 51.94 kB / 1.223 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/1.232, allocations: 2.169 MB / 1.225 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/1.232, allocations: 11.94 kB / 1.225 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.253, allocations: 5.021 MB / 1.23 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/1.256, allocations: 0.6769 MB / 1.231 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.257, allocations: 36 kB / 1.231 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004395/1.261, allocations: 297 kB / 1.231 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/1.262, allocations: 124.6 kB / 1.231 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002945/1.262, allocations: 71.92 kB / 1.231 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004162/1.266, allocations: 1.886 MB / 1.233 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.7e-07/1.266, allocations: 0 / 1.233 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007594/1.274, allocations: 1.492 MB / 1.234 GB, free: 7.227 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (80): * Single equations (assignments): 74 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/1.276, allocations: 0.8164 MB / 1.235 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.291, allocations: 3.769 MB / 1.239 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-05/1.291, allocations: 4.438 kB / 1.239 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004161/1.295, allocations: 1.091 MB / 1.24 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008185/1.304, allocations: 1.496 MB / 1.241 GB, free: 52 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/1.318, allocations: 5.813 MB / 1.247 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.32, allocations: 1.77 MB / 1.249 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004571/1.325, allocations: 0.6619 MB / 1.25 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/1.326, allocations: 231.3 kB / 1.25 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of SimCode: time 1.944e-06/1.326, allocations: 0 / 1.25 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.1179/1.443, allocations: 72.5 MB / 1.321 GB, free: 15.44 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)