Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001584/0.001584, 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.312/1.312, 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.002208/0.002208, allocations: 301.4 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.9425/0.9425, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 95.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4039, allocations: 86.98 MB / 0.7671 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06616/0.4701, allocations: 69.9 MB / 0.8353 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.4915, allocations: 14.36 MB / 0.8493 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.4944, allocations: 75.56 kB / 0.8494 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.4971, allocations: 0.9512 MB / 0.8503 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007063/0.5042, allocations: 2.667 MB / 0.8529 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.5092, allocations: 1.985 MB / 0.8549 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006026/0.5152, allocations: 4.697 MB / 0.8595 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.5177, allocations: 1.61 MB / 0.861 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.5218, allocations: 1.832 MB / 0.8628 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.524, allocations: 1.26 MB / 0.8641 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005099/0.5246, allocations: 200 kB / 0.8643 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/0.5291, allocations: 1.987 MB / 0.8662 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.5298, allocations: 474.4 kB / 0.8666 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.5316, allocations: 1.023 MB / 0.8676 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006195/0.5378, allocations: 3.521 MB / 0.8711 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5378, allocations: 0 / 0.8711 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5378, allocations: 0 / 0.8711 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.64e-05/0.5379, allocations: 0 / 0.8711 GB, free: 8.969 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.005093/0.543, allocations: 2.29 MB / 0.8733 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5431, allocations: 12.03 kB / 0.8733 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005828/0.5489, allocations: 0.6856 MB / 0.874 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.552, allocations: 1.592 MB / 0.8756 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.5522, allocations: 132 kB / 0.8757 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.5526, allocations: 120 kB / 0.8758 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.5569, allocations: 1.632 MB / 0.8774 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.5569, allocations: 7.844 kB / 0.8774 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.5571, allocations: 56 kB / 0.8775 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.5572, allocations: 35.98 kB / 0.8775 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.5621, allocations: 1.457 MB / 0.8789 GB, free: 0.7227 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.01093/0.573, allocations: 6.988 MB / 0.8857 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.5753, allocations: 0.7321 MB / 0.8864 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.577, allocations: 496 kB / 0.8869 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.5783, allocations: 1.274 MB / 0.8882 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.5784, allocations: 47.12 kB / 0.8882 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 2.736e-06/0.5784, allocations: 4 kB / 0.8882 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.02025/0.5987, allocations: 3.004 MB / 0.8911 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.5988, allocations: 111.4 kB / 0.8913 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.6011, allocations: 1.386 MB / 0.8926 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.6012, allocations: 41.7 kB / 0.8926 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.6019, allocations: 0.6956 MB / 0.8933 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.6021, allocations: 232.6 kB / 0.8935 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003971/0.6025, allocations: 234.3 kB / 0.8938 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6027, allocations: 345.9 kB / 0.8941 GB, free: 440 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.6047, allocations: 0.5083 MB / 0.8946 GB, free: 15.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.607, allocations: 0.7706 MB / 0.8954 GB, free: 15.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.6107, allocations: 1.144 MB / 0.8965 GB, free: 13.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6108, allocations: 0 / 0.8965 GB, free: 13.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005225/0.616, allocations: 1.558 MB / 0.898 GB, free: 12.24 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.616, allocations: 8.5 kB / 0.898 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.616, allocations: 4 kB / 0.898 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.6178, allocations: 495.4 kB / 0.8985 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.6193, allocations: 259.6 kB / 0.8987 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.6209, allocations: 0.9839 MB / 0.8997 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.6233, allocations: 226.5 kB / 0.8999 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.6234, allocations: 56.06 kB / 0.9 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002522/0.626, allocations: 0.8126 MB / 0.9007 GB, free: 9.395 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002275/0.6283, allocations: 0.7706 MB / 0.9015 GB, free: 8.512 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003875/0.6322, allocations: 1.129 MB / 0.9026 GB, free: 7.297 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.6322, allocations: 7.938 kB / 0.9026 GB, free: 7.289 MB / 0.67 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005519/0.6377, allocations: 1.55 MB / 0.9041 GB, free: 5.727 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6377, allocations: 8 kB / 0.9041 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6378, allocations: 8 kB / 0.9041 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.6395, allocations: 480.9 kB / 0.9046 GB, free: 5.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.641, allocations: 255.6 kB / 0.9048 GB, free: 4.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.6429, allocations: 0.9913 MB / 0.9058 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.6453, allocations: 207.1 kB / 0.906 GB, free: 3.773 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.6454, allocations: 51.95 kB / 0.9061 GB, free: 3.723 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 (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003552/0.6458, allocations: 240 kB / 0.9063 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.6462, allocations: 146.3 kB / 0.9064 GB, free: 3.336 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004642/0.6509, allocations: 1.302 MB / 0.9077 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003911/0.6548, allocations: 1.108 MB / 0.9088 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6548, allocations: 0 / 0.9088 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/0.6556, allocations: 355 kB / 0.9091 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.6559, allocations: 16 kB / 0.9091 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.6576, allocations: 112 kB / 0.9092 GB, free: 400 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6577, allocations: 52.44 kB / 0.9093 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006884/0.6646, allocations: 1.42 MB / 0.9107 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005624/0.6702, allocations: 1.726 MB / 0.9124 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001647/0.6719, allocations: 456.1 kB / 0.9128 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001665/0.6736, allocations: 0.973 MB / 0.9137 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of Backend: time 4.71e-07/0.6736, allocations: 0 / 0.9137 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007369/0.6809, allocations: 2.133 MB / 0.9158 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006031/0.687, allocations: 3.487 MB / 0.9192 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of Templates: time 0.371/1.058, allocations: 45.03 MB / 0.9632 GB, free: 179.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)