Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 117.8 kB / 16.42 MB, free: 6.5 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.001278/0.001278, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 297.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 91.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3971, allocations: 86.98 MB / 0.7671 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.07039/0.4675, allocations: 69.93 MB / 0.8353 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.4887, allocations: 14.37 MB / 0.8494 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.4912, allocations: 75.56 kB / 0.8494 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.4939, allocations: 0.9473 MB / 0.8504 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.5011, allocations: 2.676 MB / 0.853 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.5062, allocations: 1.994 MB / 0.8549 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005583/0.5118, allocations: 4.644 MB / 0.8595 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.5141, allocations: 1.614 MB / 0.861 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.5177, allocations: 1.816 MB / 0.8628 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.5198, allocations: 1.272 MB / 0.8641 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004732/0.5203, allocations: 196 kB / 0.8642 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.5246, allocations: 1.978 MB / 0.8662 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.5253, allocations: 466.5 kB / 0.8666 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.5269, allocations: 1.023 MB / 0.8676 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.5321, allocations: 3.517 MB / 0.8711 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5322, allocations: 0 / 0.8711 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.31e-07/0.5322, allocations: 0 / 0.8711 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.743e-05/0.5322, allocations: 0 / 0.8711 GB, free: 9.215 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004717/0.537, allocations: 2.306 MB / 0.8733 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.537, allocations: 11.97 kB / 0.8733 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005725/0.5427, allocations: 0.6972 MB / 0.874 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.5455, allocations: 1.584 MB / 0.8755 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5457, allocations: 128 kB / 0.8757 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.5459, allocations: 120 kB / 0.8758 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.5501, allocations: 1.654 MB / 0.8774 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.5502, allocations: 7.938 kB / 0.8774 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.5503, allocations: 52 kB / 0.8775 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.5504, allocations: 35.94 kB / 0.8775 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/0.5553, allocations: 1.48 MB / 0.8789 GB, free: 0.9062 MB / 0.6387 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.01027/0.5656, allocations: 7.249 MB / 0.886 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.5682, allocations: 0.8223 MB / 0.8868 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.57, allocations: 0.4983 MB / 0.8873 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.5713, allocations: 1.267 MB / 0.8885 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.5714, allocations: 43.12 kB / 0.8886 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.607e-06/0.5714, allocations: 4 kB / 0.8886 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.03007/0.6015, allocations: 4.151 MB / 0.8926 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.6016, allocations: 107.4 kB / 0.8927 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.6039, allocations: 1.383 MB / 0.8941 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.6041, allocations: 45.7 kB / 0.8941 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/0.6047, allocations: 0.6764 MB / 0.8948 GB, free: 15.91 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.605, allocations: 252.4 kB / 0.895 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.6054, allocations: 230.3 kB / 0.8953 GB, free: 15.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6055, allocations: 338 kB / 0.8956 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.6076, allocations: 0.5044 MB / 0.8961 GB, free: 14.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.6099, allocations: 0.7744 MB / 0.8968 GB, free: 13.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.6138, allocations: 1.141 MB / 0.8979 GB, free: 12.47 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6138, allocations: 0 / 0.8979 GB, free: 12.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005477/0.6193, allocations: 1.59 MB / 0.8995 GB, free: 10.87 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6193, allocations: 15.92 kB / 0.8995 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6193, allocations: 11.88 kB / 0.8995 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.6214, allocations: 0.5681 MB / 0.9001 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.6227, allocations: 235.6 kB / 0.9003 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.6248, allocations: 1.163 MB / 0.9014 GB, free: 8.859 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.627, allocations: 226.7 kB / 0.9017 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6272, allocations: 51.95 kB / 0.9017 GB, free: 8.586 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002529/0.6297, allocations: 0.8009 MB / 0.9025 GB, free: 7.785 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002229/0.6319, allocations: 0.7706 MB / 0.9032 GB, free: 6.902 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003853/0.6358, allocations: 1.125 MB / 0.9043 GB, free: 5.691 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.6358, allocations: 4 kB / 0.9043 GB, free: 5.688 MB / 0.67 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005366/0.6412, allocations: 1.585 MB / 0.9059 GB, free: 4.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6412, allocations: 8 kB / 0.9059 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6412, allocations: 7.984 kB / 0.9059 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.6435, allocations: 0.5603 MB / 0.9064 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.6451, allocations: 239.6 kB / 0.9067 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.6471, allocations: 1.162 MB / 0.9078 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.6493, allocations: 195.4 kB / 0.908 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.6494, allocations: 59.94 kB / 0.9081 GB, free: 1.84 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.6497, allocations: 238.1 kB / 0.9083 GB, free: 1.602 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/0.6501, allocations: 146.2 kB / 0.9084 GB, free: 1.457 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/0.6547, allocations: 1.364 MB / 0.9098 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003968/0.6587, allocations: 1.176 MB / 0.9109 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6587, allocations: 0 / 0.9109 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/0.6594, allocations: 354.9 kB / 0.9112 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.6597, allocations: 19.98 kB / 0.9113 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.6614, allocations: 111.9 kB / 0.9114 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6615, allocations: 48.48 kB / 0.9114 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006922/0.6684, allocations: 1.496 MB / 0.9129 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005599/0.674, allocations: 1.752 MB / 0.9146 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001636/0.6757, allocations: 448.2 kB / 0.915 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001656/0.6773, allocations: 0.9771 MB / 0.916 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of Backend: time 3.91e-07/0.6774, allocations: 0 / 0.916 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0074/0.6848, allocations: 2.158 MB / 0.9181 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006096/0.6909, allocations: 3.507 MB / 0.9215 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of Templates: time 0.3704/1.061, allocations: 45.9 MB / 0.9663 GB, free: 180.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)