Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 111.6 kB / 16.42 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.001136/0.001136, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.19 kB / 0.582 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06659/0.1987, allocations: 69.97 MB / 0.7287 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.2181, allocations: 14.47 MB / 0.7428 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.2202, allocations: 75.56 kB / 0.7429 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.2227, allocations: 0.9512 MB / 0.7438 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.2294, allocations: 2.677 MB / 0.7464 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.293/0.5224, allocations: 1.983 MB / 0.7484 GB, free: 23.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005958/0.5284, allocations: 4.721 MB / 0.753 GB, free: 23.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.5309, allocations: 1.627 MB / 0.7546 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.535, allocations: 1.842 MB / 0.7564 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.5375, allocations: 1.287 MB / 0.7576 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005125/0.538, allocations: 199.2 kB / 0.7578 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.5424, allocations: 1.984 MB / 0.7597 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.5429, allocations: 473.3 kB / 0.7602 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.5443, allocations: 1.035 MB / 0.7612 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.5499, allocations: 3.556 MB / 0.7647 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.55, allocations: 3.562 kB / 0.7647 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.55, allocations: 3.938 kB / 0.7647 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.312e-05/0.55, allocations: 1.562 kB / 0.7647 GB, free: 22.39 MB / 0.5762 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.005267/0.5553, allocations: 2.419 MB / 0.767 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5553, allocations: 12.97 kB / 0.7671 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.5605, allocations: 0.6581 MB / 0.7677 GB, free: 21.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.563, allocations: 1.61 MB / 0.7693 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.5631, allocations: 128.2 kB / 0.7694 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.5633, allocations: 127.2 kB / 0.7695 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.5669, allocations: 1.625 MB / 0.7711 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.567, allocations: 14.31 kB / 0.7711 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.5671, allocations: 46.88 kB / 0.7712 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.5672, allocations: 39.69 kB / 0.7712 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/0.5717, allocations: 1.442 MB / 0.7726 GB, free: 20.27 MB / 0.5762 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.008697/0.5804, allocations: 6.968 MB / 0.7794 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.5826, allocations: 0.7525 MB / 0.7801 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.5841, allocations: 497.2 kB / 0.7806 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.5852, allocations: 1.269 MB / 0.7819 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/0.587, allocations: 0.6409 MB / 0.7825 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.796e-06/0.587, allocations: 1.281 kB / 0.7825 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.009578/0.5966, allocations: 2.053 MB / 0.7845 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.5967, allocations: 326.1 kB / 0.7848 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.5986, allocations: 1.406 MB / 0.7862 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.5987, allocations: 45.42 kB / 0.7862 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.5992, allocations: 0.7084 MB / 0.7869 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.5995, allocations: 251.9 kB / 0.7872 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/0.5999, allocations: 251.7 kB / 0.7874 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.5999, allocations: 342.7 kB / 0.7877 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.6018, allocations: 0.5049 MB / 0.7882 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.6037, allocations: 0.8076 MB / 0.789 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.607, allocations: 1.163 MB / 0.7901 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.607, allocations: 3.219 kB / 0.7901 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005818/0.6129, allocations: 1.634 MB / 0.7917 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.6129, allocations: 45.34 kB / 0.7918 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6129, allocations: 8.812 kB / 0.7918 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.6142, allocations: 358 kB / 0.7921 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.6156, allocations: 271.4 kB / 0.7924 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009586/0.6165, allocations: 0.8863 MB / 0.7933 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.6188, allocations: 237 kB / 0.7935 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6189, allocations: 53.02 kB / 0.7935 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002179/0.6211, allocations: 0.8102 MB / 0.7943 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001939/0.623, allocations: 0.8062 MB / 0.7951 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003244/0.6263, allocations: 1.151 MB / 0.7962 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-06/0.6263, allocations: 2.562 kB / 0.7962 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.005817/0.6321, allocations: 1.634 MB / 0.7978 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6322, allocations: 35.95 kB / 0.7979 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6322, allocations: 6.688 kB / 0.7979 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.6333, allocations: 365.9 kB / 0.7982 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.6347, allocations: 267.5 kB / 0.7985 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009173/0.6356, allocations: 0.8891 MB / 0.7993 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.638, allocations: 198.2 kB / 0.7995 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.6381, allocations: 55.14 kB / 0.7996 GB, free: 7.285 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003283/0.6384, allocations: 247.5 kB / 0.7998 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.6387, allocations: 164 kB / 0.8 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/0.6427, allocations: 1.22 MB / 0.8012 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00318/0.6459, allocations: 1.027 MB / 0.8022 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6459, allocations: 2.969 kB / 0.8022 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/0.6467, allocations: 363.5 kB / 0.8025 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.647, allocations: 12.59 kB / 0.8025 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.6486, allocations: 116 kB / 0.8026 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.6487, allocations: 53.69 kB / 0.8027 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005118/0.6539, allocations: 1.643 MB / 0.8043 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004847/0.6587, allocations: 2.06 MB / 0.8063 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001443/0.6602, allocations: 471.1 kB / 0.8068 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001377/0.6616, allocations: 0.9815 MB / 0.8077 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of Backend: time 4.51e-07/0.6616, allocations: 0 / 0.8077 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007063/0.6686, allocations: 2.291 MB / 0.81 GB, free: 68 kB / 0.5762 GB Notification: Performance of SimCode: time 0.006233/0.6749, allocations: 3.568 MB / 0.8134 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.07166/0.7466, allocations: 47.44 MB / 0.8598 GB, free: 13.67 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)