Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.593/1.593, allocations: 287.4 MB / 303.2 MB, free: 8.273 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.0009624/0.0009624, allocations: 181 kB / 371.8 MB, free: 10.82 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.303/1.303, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007466/0.0007466, allocations: 85.5 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 15.31 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4748/0.6378, allocations: 120.7 MB / 1.097 GB, free: 33.91 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0288/0.6667, allocations: 23.24 MB / 1.12 GB, free: 27.63 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004717/0.6714, allocations: 116.5 kB / 1.12 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004162/0.6756, allocations: 1.195 MB / 1.121 GB, free: 27.05 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0117/0.6873, allocations: 3.497 MB / 1.125 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008452/0.6958, allocations: 2.478 MB / 1.127 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.7088, allocations: 9.841 MB / 1.137 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005399/0.7142, allocations: 2.49 MB / 1.139 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006897/0.7212, allocations: 2.65 MB / 1.142 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005324/0.7265, allocations: 2.171 MB / 1.144 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.7278, allocations: 130.2 kB / 1.144 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007675/0.7355, allocations: 1.938 MB / 1.146 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.7371, allocations: 0.588 MB / 1.146 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.7393, allocations: 0.7353 MB / 1.147 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.7468, allocations: 4.722 MB / 1.152 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7468, allocations: 5.094 kB / 1.152 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7468, allocations: 0 / 1.152 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002039/0.747, allocations: 0 / 1.152 GB, free: 11.69 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.008171/0.7552, allocations: 3.371 MB / 1.155 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.7553, allocations: 6.656 kB / 1.155 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.7657, allocations: 1.457 MB / 1.156 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.7705, allocations: 2.919 MB / 1.159 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.7707, allocations: 252.1 kB / 1.159 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.7711, allocations: 241.2 kB / 1.16 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006757/0.7778, allocations: 3.222 MB / 1.163 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.7779, allocations: 7.281 kB / 1.163 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.7782, allocations: 98.56 kB / 1.163 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-05/0.7782, allocations: 71.67 kB / 1.163 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008452/0.7867, allocations: 2.873 MB / 1.166 GB, free: 2.426 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.01878/0.8055, allocations: 13.67 MB / 1.179 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.8098, allocations: 1.492 MB / 1.181 GB, free: 4.211 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003204/0.8131, allocations: 0.9394 MB / 1.182 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.8149, allocations: 1.789 MB / 1.183 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00394/0.8189, allocations: 1.22 MB / 1.185 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 5.35e-06/0.8189, allocations: 0 / 1.185 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132): time 0.05398/0.8729, allocations: 11.9 MB / 1.196 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.8732, allocations: 0.5805 MB / 1.197 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/0.8776, allocations: 2.58 MB / 1.199 GB, free: 456 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004418/0.8781, allocations: 61.7 kB / 1.199 GB, free: 388 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.8793, allocations: 1.321 MB / 1.201 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000666/0.88, allocations: 457.5 kB / 1.201 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.8802, allocations: 36 kB / 1.201 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8803, allocations: 369.9 kB / 1.201 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/0.8842, allocations: 0.9993 MB / 1.202 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.8886, allocations: 1.604 MB / 1.204 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007281/0.8959, allocations: 2.294 MB / 1.206 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.896, allocations: 4 kB / 1.206 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0216/0.9176, allocations: 4.194 MB / 1.21 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003738/0.918, allocations: 0.4903 MB / 1.211 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.9181, allocations: 23.92 kB / 1.211 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/0.922, allocations: 1.152 MB / 1.212 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.9248, allocations: 475.2 kB / 1.212 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.9288, allocations: 2.393 MB / 1.215 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/0.9341, allocations: 424.4 kB / 1.215 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.9345, allocations: 103.9 kB / 1.215 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.9345, allocations: 6.344 kB / 1.215 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02069/0.9552, allocations: 3.901 MB / 1.219 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/0.9553, allocations: 12.94 kB / 1.219 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/0.959, allocations: 1.156 MB / 1.22 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.9616, allocations: 467.2 kB / 1.221 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.9656, allocations: 2.374 MB / 1.223 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/0.9704, allocations: 395.2 kB / 1.223 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/0.9707, allocations: 103.9 kB / 1.223 GB, free: 6.918 MB / 0.7448 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 (166): * Single equations (assignments): 163 * 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.001485/0.9722, allocations: 0.6969 MB / 1.224 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/0.9728, allocations: 284.6 kB / 1.224 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008052/0.9808, allocations: 2.453 MB / 1.227 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006904/0.9878, allocations: 2.061 MB / 1.229 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.9878, allocations: 0 / 1.229 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.9896, allocations: 0.6535 MB / 1.229 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.99, allocations: 24 kB / 1.229 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/0.9934, allocations: 297.3 kB / 1.23 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.9936, allocations: 104.8 kB / 1.23 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0131/1.007, allocations: 3.487 MB / 1.233 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01103/1.018, allocations: 3.832 MB / 1.237 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003103/1.021, allocations: 0.8938 MB / 1.238 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003262/1.024, allocations: 1.784 MB / 1.24 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of Backend: time 7.11e-07/1.024, allocations: 0 / 1.24 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0141/1.038, allocations: 4.03 MB / 1.243 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01398/1.052, allocations: 7.206 MB / 1.251 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.1337/1.186, allocations: 88.97 MB / 1.337 GB, free: 2.465 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)