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.004743/0.004743, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001046/0.001046, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.788/0.788, allocations: 135.2 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.41 kB / 0.5856 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1649, allocations: 80.93 MB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.0661/0.2311, allocations: 69.91 MB / 0.7329 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.2527, allocations: 14.46 MB / 0.747 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.2563, allocations: 67.62 kB / 0.7471 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.2596, allocations: 0.9551 MB / 0.748 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4033/0.663, allocations: 2.646 MB / 0.7506 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005601/0.6686, allocations: 1.99 MB / 0.7526 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007493/0.6761, allocations: 4.633 MB / 0.7571 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003094/0.6792, allocations: 1.616 MB / 0.7587 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005735/0.685, allocations: 1.805 MB / 0.7604 GB, free: 20.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.6881, allocations: 1.271 MB / 0.7617 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000892/0.689, allocations: 192.8 kB / 0.7618 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005792/0.6948, allocations: 1.978 MB / 0.7638 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000925/0.6958, allocations: 458.6 kB / 0.7642 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.6978, allocations: 1.016 MB / 0.7652 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00701/0.7048, allocations: 3.501 MB / 0.7686 GB, free: 19.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.7049, allocations: 4.469 kB / 0.7686 GB, free: 19.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7049, allocations: 4 kB / 0.7686 GB, free: 19.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.537e-05/0.7049, allocations: 3.938 kB / 0.7686 GB, free: 19.48 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004889/0.7098, allocations: 2.299 MB / 0.7709 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7099, allocations: 10.2 kB / 0.7709 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.7147, allocations: 0.646 MB / 0.7715 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.7176, allocations: 1.586 MB / 0.7731 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.7177, allocations: 128.2 kB / 0.7732 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.7179, allocations: 117 kB / 0.7733 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.7215, allocations: 1.611 MB / 0.7749 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.7215, allocations: 5.281 kB / 0.7749 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.7216, allocations: 48.06 kB / 0.7749 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.7217, allocations: 37.61 kB / 0.775 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/0.7259, allocations: 1.429 MB / 0.7764 GB, free: 17.46 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.009772/0.7357, allocations: 7.159 MB / 0.7834 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.7378, allocations: 0.7932 MB / 0.7841 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.7392, allocations: 489.8 kB / 0.7846 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.7402, allocations: 1.267 MB / 0.7858 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.7402, allocations: 56.66 kB / 0.7859 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.605e-06/0.7402, allocations: 0 / 0.7859 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.009132/0.7494, allocations: 2.105 MB / 0.7879 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.7494, allocations: 118.2 kB / 0.7881 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.7515, allocations: 1.378 MB / 0.7894 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.7517, allocations: 44.67 kB / 0.7894 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.7521, allocations: 0.688 MB / 0.7901 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.7523, allocations: 242.5 kB / 0.7903 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.7527, allocations: 222.8 kB / 0.7906 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.7527, allocations: 335.9 kB / 0.7909 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.7544, allocations: 493.6 kB / 0.7913 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.7561, allocations: 0.7388 MB / 0.7921 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.7591, allocations: 1.095 MB / 0.7931 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7591, allocations: 7.406 kB / 0.7931 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004253/0.7633, allocations: 1.505 MB / 0.7946 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7634, allocations: 5.625 kB / 0.7946 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7634, allocations: 12.44 kB / 0.7946 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.7648, allocations: 452.6 kB / 0.7951 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.7661, allocations: 246.9 kB / 0.7953 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.7673, allocations: 1.054 MB / 0.7963 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.7694, allocations: 214.3 kB / 0.7965 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.7695, allocations: 57.97 kB / 0.7966 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002056/0.7716, allocations: 0.7649 MB / 0.7973 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001688/0.7733, allocations: 0.7485 MB / 0.7981 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00284/0.7761, allocations: 1.078 MB / 0.7991 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.137e-06/0.7762, allocations: 4 kB / 0.7991 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004226/0.7804, allocations: 1.504 MB / 0.8006 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7804, allocations: 9.531 kB / 0.8006 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7804, allocations: 6.781 kB / 0.8006 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.7818, allocations: 458.5 kB / 0.801 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.783, allocations: 246.6 kB / 0.8013 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.7842, allocations: 1.069 MB / 0.8023 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.7864, allocations: 183.7 kB / 0.8025 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7865, allocations: 54.88 kB / 0.8026 GB, free: 2.043 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: 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.0003313/0.7869, allocations: 241.3 kB / 0.8028 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.7872, allocations: 141.9 kB / 0.8029 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.7908, allocations: 1.272 MB / 0.8042 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.7909, allocations: 8.531 kB / 0.8042 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7909, allocations: 7.938 kB / 0.8042 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/0.7938, allocations: 1.082 MB / 0.8052 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008419/0.8023, allocations: 3.398 MB / 0.8086 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.8023, allocations: 4 kB / 0.8086 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/0.8032, allocations: 146.5 kB / 0.8087 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.8048, allocations: 428.5 kB / 0.8091 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.8049, allocations: 23.97 kB / 0.8091 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.8064, allocations: 1.063 MB / 0.8102 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.8065, allocations: 8.031 kB / 0.8102 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.8106, allocations: 1.349 MB / 0.8115 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.8116, allocations: 360 kB / 0.8118 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005269/0.8122, allocations: 20 kB / 0.8119 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.8141, allocations: 117 kB / 0.812 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.8143, allocations: 55.11 kB / 0.812 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.8144, allocations: 43.95 kB / 0.8121 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001928/0.8164, allocations: 0.9732 MB / 0.813 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8164, allocations: 0 / 0.813 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004551/0.8209, allocations: 0.8967 MB / 0.8139 GB, free: 8.203 MB / 0.5919 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.002079/0.823, allocations: 0.5555 MB / 0.8144 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007669/0.8307, allocations: 1.785 MB / 0.8162 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.8308, allocations: 4 kB / 0.8162 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.8327, allocations: 0.5151 MB / 0.8167 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/0.8375, allocations: 0.8145 MB / 0.8175 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.8436, allocations: 2.518 MB / 0.8199 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009623/0.8446, allocations: 1.214 MB / 0.8211 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001724/0.8463, allocations: 343.4 kB / 0.8214 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.8467, allocations: 119.4 kB / 0.8216 GB, free: 416 kB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/0.8467, allocations: 0 / 0.8216 GB, free: 416 kB / 0.5919 GB Notification: Performance of Templates: time 0.06424/0.911, allocations: 39.04 MB / 0.8597 GB, free: 9.934 MB / 0.6387 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)