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.00108/0.00108, allocations: 114.3 kB / 16.42 MB, free: 6.449 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.001117/0.001117, allocations: 188.3 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 294.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 87.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3833, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.124/0.5073, allocations: 130.9 MB / 0.8949 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03303/0.5404, allocations: 24.99 MB / 0.9193 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003851/0.5442, allocations: 143.2 kB / 0.9194 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.5482, allocations: 1.782 MB / 0.9211 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.5592, allocations: 4.723 MB / 0.9257 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008324/0.5675, allocations: 3.533 MB / 0.9292 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.5781, allocations: 8.98 MB / 0.938 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.5824, allocations: 3.203 MB / 0.9411 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.5894, allocations: 3.522 MB / 0.9445 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003931/0.5933, allocations: 2.479 MB / 0.9469 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009743/0.5943, allocations: 388 kB / 0.9473 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007022/0.6014, allocations: 2.89 MB / 0.9501 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.6026, allocations: 0.8877 MB / 0.951 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003297/0.6059, allocations: 1.987 MB / 0.9529 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3632/0.9692, allocations: 6.361 MB / 0.9592 GB, free: 60.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9692, allocations: 0.625 kB / 0.9592 GB, free: 60.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9692, allocations: 0.6562 kB / 0.9592 GB, free: 60.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000152/0.9694, allocations: 0.5 kB / 0.9592 GB, free: 60.57 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.008416/0.9778, allocations: 4.061 MB / 0.9631 GB, free: 58.97 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.9779, allocations: 10.89 kB / 0.9631 GB, free: 58.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.9894, allocations: 1.377 MB / 0.9645 GB, free: 58.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.9947, allocations: 2.989 MB / 0.9674 GB, free: 58.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.9949, allocations: 254.3 kB / 0.9676 GB, free: 58.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/0.9953, allocations: 233.3 kB / 0.9679 GB, free: 58.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007383/1.003, allocations: 3.201 MB / 0.971 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.956e-05/1.003, allocations: 6.031 kB / 0.971 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/1.003, allocations: 98.55 kB / 0.9711 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/1.003, allocations: 69.89 kB / 0.9712 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008651/1.012, allocations: 2.829 MB / 0.9739 GB, free: 57.53 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.01623/1.028, allocations: 13.59 MB / 0.9872 GB, free: 51.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/1.032, allocations: 1.475 MB / 0.9886 GB, free: 51.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/1.035, allocations: 0.9142 MB / 0.9895 GB, free: 51.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.037, allocations: 1.783 MB / 0.9913 GB, free: 49.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003569/1.04, allocations: 1.182 MB / 0.9924 GB, free: 49.13 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.677e-06/1.04, allocations: 0 / 0.9924 GB, free: 49.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.05185/1.092, allocations: 11.66 MB / 1.004 GB, free: 45.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.092, allocations: 0.5789 MB / 1.004 GB, free: 44.62 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/1.096, allocations: 2.636 MB / 1.007 GB, free: 44.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/1.096, allocations: 63.39 kB / 1.007 GB, free: 44.33 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/1.097, allocations: 1.322 MB / 1.008 GB, free: 43.89 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/1.097, allocations: 466.5 kB / 1.009 GB, free: 43.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/1.098, allocations: 458 kB / 1.009 GB, free: 43.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/1.098, allocations: 313.8 kB / 1.009 GB, free: 43.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/1.102, allocations: 0.9927 MB / 1.01 GB, free: 43.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/1.106, allocations: 1.573 MB / 1.012 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006779/1.112, allocations: 2.246 MB / 1.014 GB, free: 42.05 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.112, allocations: 3.562 kB / 1.014 GB, free: 42.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02313/1.136, allocations: 4.154 MB / 1.018 GB, free: 41.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/1.136, allocations: 40.8 kB / 1.018 GB, free: 41.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.136, allocations: 18.38 kB / 1.018 GB, free: 41.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/1.139, allocations: 1.16 MB / 1.019 GB, free: 41.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.142, allocations: 452.4 kB / 1.02 GB, free: 41.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/1.145, allocations: 2.389 MB / 1.022 GB, free: 40.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.15, allocations: 297.4 kB / 1.022 GB, free: 39.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/1.15, allocations: 110.1 kB / 1.023 GB, free: 39.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004361/1.154, allocations: 1.485 MB / 1.024 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003774/1.158, allocations: 1.556 MB / 1.026 GB, free: 38.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006467/1.164, allocations: 2.226 MB / 1.028 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/1.164, allocations: 4 kB / 1.028 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02257/1.187, allocations: 4.134 MB / 1.032 GB, free: 33.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/1.187, allocations: 40.66 kB / 1.032 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.187, allocations: 12 kB / 1.032 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/1.191, allocations: 1.16 MB / 1.033 GB, free: 32.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.193, allocations: 449.3 kB / 1.033 GB, free: 32.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/1.197, allocations: 2.383 MB / 1.036 GB, free: 30.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.201, allocations: 310.8 kB / 1.036 GB, free: 30.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/1.201, allocations: 102.8 kB / 1.036 GB, free: 30.11 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.0005695/1.202, allocations: 302.2 kB / 1.036 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/1.203, allocations: 282.5 kB / 1.037 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007809/1.21, allocations: 2.405 MB / 1.039 GB, free: 27.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006743/1.217, allocations: 2.002 MB / 1.041 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.217, allocations: 4 kB / 1.041 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.218, allocations: 0.5756 MB / 1.042 GB, free: 25.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005717/1.219, allocations: 39.98 kB / 1.042 GB, free: 25.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.222, allocations: 211.7 kB / 1.042 GB, free: 24.85 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.222, allocations: 96.8 kB / 1.042 GB, free: 24.76 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0126/1.235, allocations: 3.368 MB / 1.045 GB, free: 21.44 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009933/1.245, allocations: 3.771 MB / 1.049 GB, free: 17.65 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002928/1.248, allocations: 0.8852 MB / 1.05 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002722/1.251, allocations: 1.835 MB / 1.051 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of Backend: time 4.81e-07/1.251, allocations: 0 / 1.051 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.264, allocations: 4.041 MB / 1.055 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01177/1.276, allocations: 6.39 MB / 1.062 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.1319/1.408, allocations: 92.21 MB / 1.152 GB, free: 9.895 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)