Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007511/0.007511, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001886/0.001886, allocations: 194.7 kB / 16.68 MB, free: 6.355 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9194/0.9194, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 59.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4674, allocations: 80.92 MB / 0.6646 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07006/0.5375, allocations: 69.91 MB / 0.7329 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.5602, allocations: 14.45 MB / 0.747 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.5641, allocations: 75.56 kB / 0.7471 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.5673, allocations: 0.9434 MB / 0.748 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008033/0.5753, allocations: 2.671 MB / 0.7506 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005482/0.5808, allocations: 1.974 MB / 0.7526 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007014/0.5879, allocations: 4.642 MB / 0.7571 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.591, allocations: 1.602 MB / 0.7587 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.5965, allocations: 1.819 MB / 0.7604 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.5995, allocations: 1.276 MB / 0.7617 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.6001, allocations: 192 kB / 0.7619 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00543/0.6055, allocations: 1.98 MB / 0.7638 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.6066, allocations: 466.5 kB / 0.7642 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002653/0.6093, allocations: 1.019 MB / 0.7652 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006053/0.6153, allocations: 3.497 MB / 0.7686 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6154, allocations: 4 kB / 0.7687 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6154, allocations: 0 / 0.7687 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.373e-05/0.6154, allocations: 0 / 0.7687 GB, free: 6.973 MB / 0.5919 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.004357/0.6198, allocations: 2.302 MB / 0.7709 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.6198, allocations: 8.031 kB / 0.7709 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.6249, allocations: 0.6578 MB / 0.7715 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.6276, allocations: 1.575 MB / 0.7731 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.6277, allocations: 128 kB / 0.7732 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.6279, allocations: 116 kB / 0.7733 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003787/0.6317, allocations: 1.614 MB / 0.7749 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.6317, allocations: 7.875 kB / 0.7749 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6319, allocations: 56 kB / 0.775 GB, free: 292 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.6319, allocations: 32 kB / 0.775 GB, free: 260 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004567/0.6365, allocations: 1.429 MB / 0.7764 GB, free: 14.81 MB / 0.6075 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.0106/0.6471, allocations: 7.163 MB / 0.7834 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.6495, allocations: 0.7836 MB / 0.7841 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.6511, allocations: 492.9 kB / 0.7846 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.6525, allocations: 1.263 MB / 0.7858 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.6526, allocations: 51.11 kB / 0.7859 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 2.625e-06/0.6526, allocations: 3.938 kB / 0.7859 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.01002/0.6626, allocations: 2.107 MB / 0.788 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.6627, allocations: 111.4 kB / 0.7881 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.6651, allocations: 1.382 MB / 0.7894 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.6653, allocations: 41.7 kB / 0.7895 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.6659, allocations: 0.6881 MB / 0.7901 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.6662, allocations: 240.6 kB / 0.7904 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/0.6666, allocations: 222.3 kB / 0.7906 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6667, allocations: 337.9 kB / 0.7909 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.6687, allocations: 492.5 kB / 0.7914 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.6709, allocations: 0.7393 MB / 0.7921 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.6745, allocations: 1.098 MB / 0.7932 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6745, allocations: 0 / 0.7932 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005119/0.6797, allocations: 1.511 MB / 0.7946 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6797, allocations: 11.94 kB / 0.7946 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6797, allocations: 7.984 kB / 0.7946 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.6813, allocations: 453.5 kB / 0.7951 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.6827, allocations: 247.6 kB / 0.7953 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.6843, allocations: 1.064 MB / 0.7964 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.6865, allocations: 222.6 kB / 0.7966 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.6866, allocations: 51.95 kB / 0.7966 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002413/0.689, allocations: 0.7727 MB / 0.7974 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002064/0.6911, allocations: 0.7354 MB / 0.7981 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003556/0.6947, allocations: 1.086 MB / 0.7992 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.144e-06/0.6947, allocations: 4 kB / 0.7992 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005039/0.6998, allocations: 1.488 MB / 0.8006 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6998, allocations: 8 kB / 0.8006 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6998, allocations: 4 kB / 0.8006 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.7013, allocations: 457 kB / 0.8011 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.7027, allocations: 239.9 kB / 0.8013 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.7042, allocations: 1.075 MB / 0.8023 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.7068, allocations: 183.3 kB / 0.8025 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.7069, allocations: 47.95 kB / 0.8026 GB, free: 2.781 MB / 0.6231 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.0004391/0.7074, allocations: 244 kB / 0.8028 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.708, allocations: 146.2 kB / 0.8029 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.7123, allocations: 1.28 MB / 0.8042 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7123, allocations: 4 kB / 0.8042 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7123, allocations: 4 kB / 0.8042 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003413/0.7157, allocations: 1.08 MB / 0.8052 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007759/0.7235, allocations: 3.383 MB / 0.8085 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7235, allocations: 4 kB / 0.8085 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/0.7245, allocations: 148 kB / 0.8087 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.726, allocations: 440.4 kB / 0.8091 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.726, allocations: 27.97 kB / 0.8091 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.7276, allocations: 1.052 MB / 0.8102 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7276, allocations: 7.938 kB / 0.8102 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.7317, allocations: 1.35 MB / 0.8115 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/0.7324, allocations: 359 kB / 0.8118 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.7328, allocations: 16 kB / 0.8118 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.7345, allocations: 119.8 kB / 0.812 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7346, allocations: 56.25 kB / 0.812 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.7347, allocations: 43.95 kB / 0.8121 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001685/0.7364, allocations: 0.9732 MB / 0.813 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7364, allocations: 4 kB / 0.813 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002496/0.7389, allocations: 0.8889 MB / 0.8139 GB, free: 6.805 MB / 0.6387 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.001279/0.7402, allocations: 0.5504 MB / 0.8144 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006357/0.7466, allocations: 1.787 MB / 0.8162 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7466, allocations: 3.781 kB / 0.8162 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.7485, allocations: 0.5217 MB / 0.8167 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/0.7526, allocations: 0.8287 MB / 0.8175 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.7585, allocations: 2.525 MB / 0.8199 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/0.7595, allocations: 1.203 MB / 0.8211 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001732/0.7612, allocations: 343.4 kB / 0.8215 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7616, allocations: 123.3 kB / 0.8216 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.7616, allocations: 3.938 kB / 0.8216 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.06195/0.8236, allocations: 39.03 MB / 0.8597 GB, free: 8.188 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)