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.001187/0.001187, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001252/0.001252, allocations: 183 kB / 17.34 MB, free: 5.738 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.27 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05946/0.1852, allocations: 69.91 MB / 0.7336 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.203, allocations: 14.45 MB / 0.7477 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.205, allocations: 75.56 kB / 0.7477 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.207, allocations: 0.9161 MB / 0.7486 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3069/0.514, allocations: 2.541 MB / 0.7511 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.5184, allocations: 1.977 MB / 0.7531 GB, free: 21.19 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005973/0.5244, allocations: 4.624 MB / 0.7576 GB, free: 21.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.5268, allocations: 1.617 MB / 0.7592 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.5309, allocations: 1.807 MB / 0.7609 GB, free: 21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.533, allocations: 1.266 MB / 0.7622 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.5334, allocations: 192.2 kB / 0.7623 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.5375, allocations: 1.982 MB / 0.7643 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004732/0.538, allocations: 461.5 kB / 0.7647 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.5393, allocations: 1.02 MB / 0.7657 GB, free: 20.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.5443, allocations: 3.5 MB / 0.7691 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5443, allocations: 0 / 0.7691 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5443, allocations: 0.9062 kB / 0.7691 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.061e-05/0.5444, allocations: 0 / 0.7691 GB, free: 20.04 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.003746/0.5481, allocations: 2.302 MB / 0.7714 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5482, allocations: 10.89 kB / 0.7714 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004607/0.5528, allocations: 0.6551 MB / 0.772 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.555, allocations: 1.575 MB / 0.7736 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5552, allocations: 130.9 kB / 0.7737 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5553, allocations: 120.8 kB / 0.7738 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.5585, allocations: 1.607 MB / 0.7754 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.5585, allocations: 7.312 kB / 0.7754 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5587, allocations: 58.72 kB / 0.7754 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.5587, allocations: 32.72 kB / 0.7755 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.5627, allocations: 1.425 MB / 0.7769 GB, free: 18.02 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.007857/0.5706, allocations: 7.165 MB / 0.7839 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.5726, allocations: 0.7934 MB / 0.7846 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.574, allocations: 481.3 kB / 0.7851 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009168/0.5749, allocations: 1.273 MB / 0.7863 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5749, allocations: 43.34 kB / 0.7864 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.535e-06/0.5749, allocations: 0 / 0.7864 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.008692/0.5836, allocations: 2.113 MB / 0.7884 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.5837, allocations: 110.2 kB / 0.7885 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.5855, allocations: 1.383 MB / 0.7899 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5856, allocations: 43.33 kB / 0.7899 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.586, allocations: 0.6922 MB / 0.7906 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.5862, allocations: 232.8 kB / 0.7908 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.5865, allocations: 227.6 kB / 0.791 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.5865, allocations: 333.9 kB / 0.7914 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.5881, allocations: 495.4 kB / 0.7918 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.5898, allocations: 0.7433 MB / 0.7926 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.5927, allocations: 1.092 MB / 0.7936 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5927, allocations: 2.906 kB / 0.7936 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004244/0.5969, allocations: 1.496 MB / 0.7951 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.597, allocations: 7.969 kB / 0.7951 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.597, allocations: 11.44 kB / 0.7951 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.5986, allocations: 464.9 kB / 0.7956 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.5999, allocations: 252.7 kB / 0.7958 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.601, allocations: 1.055 MB / 0.7968 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.6032, allocations: 215.8 kB / 0.797 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.6033, allocations: 53.06 kB / 0.7971 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002029/0.6053, allocations: 0.7695 MB / 0.7978 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001678/0.607, allocations: 0.7352 MB / 0.7986 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002902/0.6099, allocations: 1.094 MB / 0.7996 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.6099, allocations: 2.875 kB / 0.7996 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004162/0.6141, allocations: 1.5 MB / 0.8011 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6141, allocations: 8.094 kB / 0.8011 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6142, allocations: 6.219 kB / 0.8011 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.6154, allocations: 455.6 kB / 0.8015 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6166, allocations: 244.2 kB / 0.8018 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.6177, allocations: 1.068 MB / 0.8028 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.6198, allocations: 183.6 kB / 0.803 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.6199, allocations: 53.27 kB / 0.803 GB, free: 2.289 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.000298/0.6202, allocations: 239.5 kB / 0.8033 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.6205, allocations: 143.4 kB / 0.8034 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.6239, allocations: 1.273 MB / 0.8046 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.624, allocations: 12.19 kB / 0.8047 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.624, allocations: 3.938 kB / 0.8047 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002829/0.6268, allocations: 1.087 MB / 0.8057 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00702/0.6338, allocations: 3.391 MB / 0.809 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6339, allocations: 7.062 kB / 0.809 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.6347, allocations: 154.1 kB / 0.8092 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.6361, allocations: 428.7 kB / 0.8096 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.6361, allocations: 31.72 kB / 0.8096 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.6375, allocations: 1.064 MB / 0.8107 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.6375, allocations: 9.594 kB / 0.8107 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.6411, allocations: 1.344 MB / 0.812 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007797/0.6419, allocations: 359 kB / 0.8123 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/0.6422, allocations: 16 kB / 0.8123 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.6439, allocations: 119.8 kB / 0.8125 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.6441, allocations: 58.75 kB / 0.8125 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.6442, allocations: 43.95 kB / 0.8126 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001676/0.6459, allocations: 0.9693 MB / 0.8135 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.42e-07/0.6459, allocations: 0 / 0.8135 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002903/0.6488, allocations: 0.899 MB / 0.8144 GB, free: 8.609 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.001534/0.6503, allocations: 0.5443 MB / 0.8149 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005995/0.6563, allocations: 1.79 MB / 0.8167 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6564, allocations: 0 / 0.8167 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.6581, allocations: 0.5201 MB / 0.8172 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/0.6622, allocations: 0.8177 MB / 0.818 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.6679, allocations: 2.548 MB / 0.8205 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/0.6688, allocations: 1.198 MB / 0.8216 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.6693, allocations: 151.3 kB / 0.8218 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of SimCode: time 5.92e-07/0.6694, allocations: 0 / 0.8218 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.04609/0.7154, allocations: 36.01 MB / 0.8569 GB, free: 13.37 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)