Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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/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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006939/0.006939, allocations: 171 kB / 16.26 MB, free: 6.676 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 8 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4405, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06935/0.5099, allocations: 68.24 MB / 0.6503 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02285/0.5328, allocations: 14.45 MB / 0.6644 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.5361, allocations: 59.62 kB / 0.6645 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.5392, allocations: 0.7459 MB / 0.6652 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007617/0.5468, allocations: 2.35 MB / 0.6675 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/0.5521, allocations: 1.783 MB / 0.6692 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008331/0.5605, allocations: 5.854 MB / 0.675 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.5631, allocations: 1.281 MB / 0.6762 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.5666, allocations: 1.431 MB / 0.6776 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.569, allocations: 1.19 MB / 0.6788 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.5693, allocations: 68 kB / 0.6788 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004225/0.5735, allocations: 1.739 MB / 0.6805 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004918/0.574, allocations: 334.5 kB / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.5755, allocations: 0.8957 MB / 0.6817 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005893/0.5814, allocations: 3.337 MB / 0.685 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5814, allocations: 0 / 0.685 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5814, allocations: 0 / 0.685 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.906e-05/0.5815, allocations: 0 / 0.685 GB, free: 8.418 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003969/0.5854, allocations: 1.944 MB / 0.6869 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5855, allocations: 8.031 kB / 0.6869 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/0.5908, allocations: 0.697 MB / 0.6876 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.594, allocations: 1.545 MB / 0.6891 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5942, allocations: 128 kB / 0.6892 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.5944, allocations: 123.9 kB / 0.6893 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/0.5984, allocations: 1.646 MB / 0.6909 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.5984, allocations: 0 / 0.6909 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.5986, allocations: 55.94 kB / 0.691 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.5987, allocations: 39.92 kB / 0.691 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/0.6035, allocations: 1.472 MB / 0.6924 GB, free: 0.5273 MB / 0.5137 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.01111/0.6146, allocations: 7.202 MB / 0.6995 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.6169, allocations: 0.8185 MB / 0.7003 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.6187, allocations: 0.4987 MB / 0.7008 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.6202, allocations: 1.271 MB / 0.702 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.6203, allocations: 58.98 kB / 0.7021 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.905e-06/0.6203, allocations: 0 / 0.7021 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01007/0.6304, allocations: 2.244 MB / 0.7043 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.6305, allocations: 111.4 kB / 0.7044 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.6328, allocations: 1.371 MB / 0.7057 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.6329, allocations: 45.7 kB / 0.7057 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.6336, allocations: 0.6803 MB / 0.7064 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.6338, allocations: 240.5 kB / 0.7066 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.634, allocations: 77.69 kB / 0.7067 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6342, allocations: 341.9 kB / 0.707 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/0.6361, allocations: 0.4977 MB / 0.7075 GB, free: 316 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.6383, allocations: 0.7668 MB / 0.7083 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/0.642, allocations: 1.144 MB / 0.7094 GB, free: 14.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6421, allocations: 0 / 0.7094 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005229/0.6473, allocations: 1.566 MB / 0.7109 GB, free: 12.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.6475, allocations: 273 kB / 0.7112 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6475, allocations: 4 kB / 0.7112 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.6492, allocations: 467.9 kB / 0.7116 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.6506, allocations: 255.6 kB / 0.7119 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.6523, allocations: 1.081 MB / 0.7129 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.6547, allocations: 271.7 kB / 0.7132 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6549, allocations: 55.95 kB / 0.7132 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6549, allocations: 4 kB / 0.7132 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004675/0.6596, allocations: 1.402 MB / 0.7146 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6596, allocations: 8 kB / 0.7146 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.6612, allocations: 459.8 kB / 0.7151 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.6626, allocations: 255.6 kB / 0.7153 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.6641, allocations: 1.075 MB / 0.7164 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.6665, allocations: 242.9 kB / 0.7166 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.6667, allocations: 55.94 kB / 0.7166 GB, free: 6.633 MB / 0.545 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.6677, allocations: 454.4 kB / 0.7171 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/0.6682, allocations: 142.2 kB / 0.7172 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/0.6724, allocations: 1.329 MB / 0.7185 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6724, allocations: 11.94 kB / 0.7185 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6724, allocations: 3.938 kB / 0.7185 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003501/0.6759, allocations: 1.135 MB / 0.7196 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008126/0.6841, allocations: 3.426 MB / 0.723 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6841, allocations: 0 / 0.723 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.6851, allocations: 159.8 kB / 0.7231 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.6867, allocations: 456.4 kB / 0.7236 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.6868, allocations: 23.97 kB / 0.7236 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.6884, allocations: 1.071 MB / 0.7246 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6884, allocations: 7.938 kB / 0.7246 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.6926, allocations: 1.409 MB / 0.726 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.6938, allocations: 390.9 kB / 0.7264 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.6942, allocations: 20.12 kB / 0.7264 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/0.6964, allocations: 163.4 kB / 0.7266 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.6966, allocations: 48.25 kB / 0.7266 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.6968, allocations: 47.95 kB / 0.7267 GB, free: 12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002117/0.6989, allocations: 0.9615 MB / 0.7276 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/0.6989, allocations: 0 / 0.7276 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003293/0.7022, allocations: 0.8889 MB / 0.7285 GB, free: 10.15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.7036, allocations: 0.5367 MB / 0.729 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006587/0.7102, allocations: 1.849 MB / 0.7308 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.7102, allocations: 0 / 0.7308 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.7122, allocations: 0.5374 MB / 0.7313 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/0.7172, allocations: 0.7981 MB / 0.7321 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.7235, allocations: 3.135 MB / 0.7352 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.7246, allocations: 1.207 MB / 0.7363 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001886/0.7265, allocations: 350.6 kB / 0.7367 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.7269, allocations: 123.4 kB / 0.7368 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/0.7269, allocations: 0 / 0.7368 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.06629/0.7932, allocations: 37.63 MB / 0.7735 GB, free: 12.37 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)