Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111 kB / 16.42 MB, free: 6.516 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.001052/0.001052, allocations: 186.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 283.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9087/0.9087, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 99.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3827, allocations: 86.97 MB / 0.7671 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1208/0.5036, allocations: 130.9 MB / 0.8948 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03273/0.5363, allocations: 25 MB / 0.9193 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003679/0.54, allocations: 135.2 kB / 0.9194 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.544, allocations: 1.727 MB / 0.9211 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.5543, allocations: 4.498 MB / 0.9255 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007617/0.5619, allocations: 3.52 MB / 0.9289 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.5721, allocations: 8.972 MB / 0.9377 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.576, allocations: 3.192 MB / 0.9408 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.5825, allocations: 3.511 MB / 0.9442 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.5859, allocations: 2.479 MB / 0.9466 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005768/0.5865, allocations: 388 kB / 0.947 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.592, allocations: 2.894 MB / 0.9498 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007555/0.5928, allocations: 0.8799 MB / 0.9507 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.5948, allocations: 1.987 MB / 0.9526 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3492/0.9439, allocations: 6.366 MB / 0.9588 GB, free: 60.37 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.944, allocations: 0.5312 kB / 0.9588 GB, free: 60.37 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.464e-06/0.944, allocations: 0.5 kB / 0.9588 GB, free: 60.37 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001312/0.9441, allocations: 0 / 0.9588 GB, free: 60.37 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007865/0.952, allocations: 4.069 MB / 0.9628 GB, free: 58.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.9521, allocations: 9.281 kB / 0.9628 GB, free: 58.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.9638, allocations: 1.374 MB / 0.9642 GB, free: 58.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/0.9694, allocations: 2.985 MB / 0.9671 GB, free: 57.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.9696, allocations: 255.4 kB / 0.9673 GB, free: 57.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.97, allocations: 233.8 kB / 0.9676 GB, free: 57.89 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/0.9775, allocations: 3.198 MB / 0.9707 GB, free: 57.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.9776, allocations: 6.531 kB / 0.9707 GB, free: 57.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.9779, allocations: 102 kB / 0.9708 GB, free: 57.39 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.978, allocations: 71.36 kB / 0.9708 GB, free: 57.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008619/0.9866, allocations: 2.835 MB / 0.9736 GB, free: 57.33 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.01722/1.004, allocations: 13.58 MB / 0.9869 GB, free: 51.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/1.008, allocations: 1.474 MB / 0.9883 GB, free: 51.12 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/1.011, allocations: 0.9125 MB / 0.9892 GB, free: 51.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.012, allocations: 1.779 MB / 0.9909 GB, free: 49.12 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00365/1.016, allocations: 1.186 MB / 0.9921 GB, free: 48.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 4.919e-06/1.016, allocations: 7.75 kB / 0.9921 GB, free: 48.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.05367/1.07, allocations: 11.66 MB / 1.003 GB, free: 45.11 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.07, allocations: 0.5748 MB / 1.004 GB, free: 44.42 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/1.074, allocations: 2.639 MB / 1.007 GB, free: 44.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/1.074, allocations: 66.42 kB / 1.007 GB, free: 44.13 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000961/1.075, allocations: 1.318 MB / 1.008 GB, free: 43.69 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/1.075, allocations: 463.5 kB / 1.008 GB, free: 43.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007052/1.076, allocations: 458.4 kB / 1.009 GB, free: 43.37 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/1.076, allocations: 311.1 kB / 1.009 GB, free: 43.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/1.08, allocations: 0.9937 MB / 1.01 GB, free: 43.03 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/1.084, allocations: 1.571 MB / 1.012 GB, free: 42.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006768/1.091, allocations: 2.251 MB / 1.014 GB, free: 41.85 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.091, allocations: 3.125 kB / 1.014 GB, free: 41.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02333/1.114, allocations: 4.156 MB / 1.018 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/1.114, allocations: 37.52 kB / 1.018 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.114, allocations: 15.69 kB / 1.018 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/1.118, allocations: 1.156 MB / 1.019 GB, free: 41.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/1.12, allocations: 458 kB / 1.02 GB, free: 41.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/1.124, allocations: 2.387 MB / 1.022 GB, free: 40.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/1.128, allocations: 293.6 kB / 1.022 GB, free: 40 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.129, allocations: 108.9 kB / 1.022 GB, free: 39.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004452/1.133, allocations: 1.491 MB / 1.024 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003858/1.137, allocations: 1.554 MB / 1.025 GB, free: 38.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006633/1.144, allocations: 2.224 MB / 1.027 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.147e-05/1.144, allocations: 4 kB / 1.027 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02306/1.167, allocations: 4.128 MB / 1.031 GB, free: 33.87 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/1.167, allocations: 41.45 kB / 1.031 GB, free: 33.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.167, allocations: 12 kB / 1.031 GB, free: 33.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/1.171, allocations: 1.162 MB / 1.033 GB, free: 32.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/1.173, allocations: 449.9 kB / 1.033 GB, free: 32.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/1.177, allocations: 2.378 MB / 1.035 GB, free: 30.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/1.181, allocations: 309.3 kB / 1.036 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/1.182, allocations: 101.4 kB / 1.036 GB, free: 30.18 MB / 0.7169 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0005734/1.182, allocations: 297.8 kB / 1.036 GB, free: 29.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/1.183, allocations: 286.8 kB / 1.036 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007841/1.191, allocations: 2.413 MB / 1.039 GB, free: 27.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006529/1.197, allocations: 2.007 MB / 1.041 GB, free: 25.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.197, allocations: 3.984 kB / 1.041 GB, free: 25.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.199, allocations: 0.5834 MB / 1.041 GB, free: 25.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007517/1.199, allocations: 28 kB / 1.041 GB, free: 25.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/1.203, allocations: 221.7 kB / 1.041 GB, free: 24.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/1.203, allocations: 100.8 kB / 1.042 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01231/1.215, allocations: 3.365 MB / 1.045 GB, free: 21.51 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009719/1.225, allocations: 3.767 MB / 1.049 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002921/1.228, allocations: 0.8814 MB / 1.049 GB, free: 16.85 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002726/1.231, allocations: 1.839 MB / 1.051 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of Backend: time 3.81e-07/1.231, allocations: 0 / 1.051 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.244, allocations: 4.041 MB / 1.055 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01053/1.255, allocations: 6.392 MB / 1.061 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.1331/1.388, allocations: 92.21 MB / 1.151 GB, free: 9.977 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)