Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 114.5 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.001151/0.001151, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7862/0.7862, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 62.88 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 80.21 MB / 0.6604 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.4334/0.5634, allocations: 130.8 MB / 0.7881 GB, free: 19.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03087/0.5943, allocations: 25.05 MB / 0.8126 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/0.5991, allocations: 135.6 kB / 0.8127 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.6033, allocations: 1.788 MB / 0.8145 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.6142, allocations: 4.723 MB / 0.8191 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007487/0.6217, allocations: 3.52 MB / 0.8225 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.6331, allocations: 9.026 MB / 0.8313 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/0.6376, allocations: 3.208 MB / 0.8345 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007215/0.6449, allocations: 3.531 MB / 0.8379 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.6495, allocations: 2.474 MB / 0.8403 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.6506, allocations: 395.9 kB / 0.8407 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007515/0.6582, allocations: 2.882 MB / 0.8435 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.6597, allocations: 0.8878 MB / 0.8444 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003803/0.6635, allocations: 1.987 MB / 0.8463 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.675, allocations: 6.383 MB / 0.8526 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6751, allocations: 0 / 0.8526 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6751, allocations: 4 kB / 0.8526 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001101/0.6752, allocations: 0 / 0.8526 GB, free: 7.594 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.007345/0.6825, allocations: 4.179 MB / 0.8566 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.6826, allocations: 8.031 kB / 0.8566 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.6926, allocations: 1.301 MB / 0.8579 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005383/0.698, allocations: 2.995 MB / 0.8608 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.6983, allocations: 247.9 kB / 0.8611 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.6987, allocations: 247.9 kB / 0.8613 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007486/0.7062, allocations: 3.116 MB / 0.8644 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.7063, allocations: 11.88 kB / 0.8644 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.7066, allocations: 104 kB / 0.8645 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.062e-05/0.7067, allocations: 67.92 kB / 0.8645 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008858/0.7155, allocations: 2.713 MB / 0.8672 GB, free: 8.215 MB / 0.6231 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.0217/0.7373, allocations: 13.28 MB / 0.8801 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/0.7415, allocations: 1.379 MB / 0.8815 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.7445, allocations: 0.8736 MB / 0.8823 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/0.7464, allocations: 1.781 MB / 0.8841 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003606/0.7501, allocations: 1.13 MB / 0.8852 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 4.989e-06/0.7501, allocations: 0 / 0.8852 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.02133/0.7714, allocations: 4.09 MB / 0.8892 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002722/0.7717, allocations: 0.5727 MB / 0.8897 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.7764, allocations: 2.536 MB / 0.8922 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.7767, allocations: 65.64 kB / 0.8923 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.778, allocations: 1.366 MB / 0.8936 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005297/0.7786, allocations: 464 kB / 0.8941 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009049/0.7795, allocations: 471.1 kB / 0.8945 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.7796, allocations: 301.1 kB / 0.8948 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.7832, allocations: 0.9416 MB / 0.8957 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004157/0.7873, allocations: 1.525 MB / 0.8972 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.7944, allocations: 2.159 MB / 0.8993 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.7945, allocations: 4 kB / 0.8993 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.0113/0.8058, allocations: 3.024 MB / 0.9023 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.8058, allocations: 41.89 kB / 0.9023 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.8059, allocations: 12 kB / 0.9023 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.8083, allocations: 0.7102 MB / 0.903 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.8111, allocations: 495.1 kB / 0.9035 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.8134, allocations: 1.782 MB / 0.9052 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.8176, allocations: 410.2 kB / 0.9056 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.8179, allocations: 108.2 kB / 0.9057 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005065/0.8229, allocations: 1.438 MB / 0.9071 GB, free: 13.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003923/0.8269, allocations: 1.509 MB / 0.9086 GB, free: 11.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006482/0.8334, allocations: 2.125 MB / 0.9107 GB, free: 9.461 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-05/0.8334, allocations: 8 kB / 0.9107 GB, free: 9.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01132/0.8447, allocations: 2.997 MB / 0.9136 GB, free: 6.434 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.8448, allocations: 40.2 kB / 0.9136 GB, free: 6.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.8448, allocations: 12 kB / 0.9137 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.8473, allocations: 0.7099 MB / 0.9144 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.85, allocations: 483.2 kB / 0.9148 GB, free: 5.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.8523, allocations: 1.79 MB / 0.9166 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/0.8568, allocations: 371.2 kB / 0.9169 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.8571, allocations: 103.9 kB / 0.917 GB, free: 2.895 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0006877/0.8578, allocations: 297.1 kB / 0.9173 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00096/0.8587, allocations: 286.2 kB / 0.9176 GB, free: 2.316 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.8702, allocations: 2.488 MB / 0.92 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009978/0.8802, allocations: 2.127 MB / 0.9221 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.8802, allocations: 7.938 kB / 0.9221 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/0.8821, allocations: 0.5847 MB / 0.9227 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/0.8833, allocations: 28.12 kB / 0.9227 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/0.8866, allocations: 199.8 kB / 0.9229 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.8869, allocations: 92.86 kB / 0.923 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01069/0.8976, allocations: 2.963 MB / 0.9259 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01034/0.9079, allocations: 3.592 MB / 0.9294 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002929/0.9109, allocations: 0.8313 MB / 0.9302 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003655/0.9146, allocations: 1.762 MB / 0.9319 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of Backend: time 2.214e-06/0.9146, allocations: 0 / 0.9319 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01436/0.9289, allocations: 3.89 MB / 0.9357 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01283/0.9418, allocations: 6.299 MB / 0.9418 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of Templates: time 0.1303/1.072, allocations: 86.95 MB / 1.027 GB, free: 2.844 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)