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.001442/0.001443, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.00163/0.00163, allocations: 192.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.309/1.309, allocations: 222.9 MB / 241.1 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.002134/0.002134, allocations: 292.8 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.9309/0.9309, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3903, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.0629/0.4533, allocations: 69.9 MB / 0.8353 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.4724, allocations: 14.37 MB / 0.8494 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.4746, allocations: 75.56 kB / 0.8494 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.4766, allocations: 0.9122 MB / 0.8503 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.4825, allocations: 2.564 MB / 0.8528 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.4872, allocations: 1.978 MB / 0.8547 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005372/0.4926, allocations: 4.681 MB / 0.8593 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.4945, allocations: 1.618 MB / 0.8609 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.4977, allocations: 1.82 MB / 0.8627 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.4992, allocations: 1.26 MB / 0.8639 GB, free: 440 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.4995, allocations: 200 kB / 0.8641 GB, free: 240 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.5033, allocations: 1.982 MB / 0.866 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.5037, allocations: 466.5 kB / 0.8665 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.5048, allocations: 1.019 MB / 0.8675 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004473/0.5092, allocations: 3.524 MB / 0.8709 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5093, allocations: 4 kB / 0.8709 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.776e-06/0.5093, allocations: 0 / 0.8709 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.098e-05/0.5093, allocations: 3.938 kB / 0.8709 GB, free: 9.23 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.00356/0.5129, allocations: 2.29 MB / 0.8732 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.5129, allocations: 8.031 kB / 0.8732 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/0.5187, allocations: 0.6934 MB / 0.8738 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.521, allocations: 1.592 MB / 0.8754 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5212, allocations: 128 kB / 0.8755 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.5214, allocations: 116 kB / 0.8756 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/0.5252, allocations: 1.636 MB / 0.8772 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.5253, allocations: 11.84 kB / 0.8772 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.5254, allocations: 52 kB / 0.8773 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.5255, allocations: 35.98 kB / 0.8773 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.5302, allocations: 1.457 MB / 0.8787 GB, free: 0.9844 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.009213/0.5394, allocations: 6.976 MB / 0.8856 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.5417, allocations: 0.736 MB / 0.8863 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.5434, allocations: 0.4921 MB / 0.8868 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.5448, allocations: 1.274 MB / 0.888 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5448, allocations: 43.12 kB / 0.888 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 2.876e-06/0.5448, allocations: 0 / 0.888 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.02093/0.5657, allocations: 3.016 MB / 0.891 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.5658, allocations: 107.4 kB / 0.8911 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.5681, allocations: 1.386 MB / 0.8924 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.5682, allocations: 45.7 kB / 0.8925 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.5688, allocations: 0.6917 MB / 0.8932 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.5691, allocations: 236.6 kB / 0.8934 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.5695, allocations: 234.3 kB / 0.8936 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5696, allocations: 337.9 kB / 0.8939 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.5716, allocations: 0.5083 MB / 0.8944 GB, free: 188 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.5738, allocations: 0.7745 MB / 0.8952 GB, free: 15.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.5776, allocations: 1.14 MB / 0.8963 GB, free: 14.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5776, allocations: 4 kB / 0.8963 GB, free: 14.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005201/0.5828, allocations: 1.558 MB / 0.8978 GB, free: 12.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5828, allocations: 8 kB / 0.8978 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5829, allocations: 4 kB / 0.8978 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.5846, allocations: 490.3 kB / 0.8983 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.5861, allocations: 259.5 kB / 0.8986 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.5878, allocations: 0.9871 MB / 0.8995 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.59, allocations: 230.5 kB / 0.8997 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.5901, allocations: 63.92 kB / 0.8998 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002445/0.5926, allocations: 0.7985 MB / 0.9006 GB, free: 9.656 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002173/0.5948, allocations: 0.7706 MB / 0.9013 GB, free: 8.773 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003719/0.5985, allocations: 1.133 MB / 0.9024 GB, free: 7.555 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.057e-06/0.5985, allocations: 0 / 0.9024 GB, free: 7.555 MB / 0.67 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005149/0.6037, allocations: 1.551 MB / 0.904 GB, free: 5.992 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6037, allocations: 15.97 kB / 0.904 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6037, allocations: 8 kB / 0.904 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.6054, allocations: 488.2 kB / 0.9044 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.6068, allocations: 255.6 kB / 0.9047 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.6084, allocations: 0.9956 MB / 0.9057 GB, free: 4.227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.6106, allocations: 195.1 kB / 0.9058 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6107, allocations: 55.94 kB / 0.9059 GB, free: 3.98 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.0003666/0.6111, allocations: 240 kB / 0.9061 GB, free: 3.738 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.6115, allocations: 138.3 kB / 0.9063 GB, free: 3.602 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.6159, allocations: 1.302 MB / 0.9075 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003768/0.6197, allocations: 1.115 MB / 0.9086 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6197, allocations: 0 / 0.9086 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.6203, allocations: 351 kB / 0.909 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.6206, allocations: 19.98 kB / 0.909 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.6222, allocations: 107.9 kB / 0.9091 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6223, allocations: 48.42 kB / 0.9091 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006671/0.629, allocations: 1.416 MB / 0.9105 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005374/0.6344, allocations: 1.742 MB / 0.9122 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001613/0.636, allocations: 448.1 kB / 0.9126 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001663/0.6377, allocations: 0.973 MB / 0.9136 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of Backend: time 2.51e-07/0.6377, allocations: 0 / 0.9136 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007536/0.6452, allocations: 2.129 MB / 0.9157 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006165/0.6514, allocations: 3.491 MB / 0.9191 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of Templates: time 0.3825/1.034, allocations: 45.02 MB / 0.963 GB, free: 179.7 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)