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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01151/0.01151, allocations: 170.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8234/0.8234, allocations: 135.2 MB / 151.1 MB, free: 13.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 406.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008446, allocations: 99.28 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 8 kB / 0.5691 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4472, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8641/1.311, allocations: 396.7 MB / 1.037 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.312, allocations: 91.45 kB / 1.037 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.396/3.708, allocations: 0.5599 GB / 1.597 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.155e-06/3.708, allocations: 0 / 1.597 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002127/3.708, allocations: 47.11 kB / 1.597 GB, free: 96.59 MB / 0.6823 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.00672/3.715, allocations: 2.115 MB / 1.599 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/3.715, allocations: 7.219 kB / 1.599 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/3.719, allocations: 0.6192 MB / 1.6 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/3.724, allocations: 1.793 MB / 1.601 GB, free: 95.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/3.724, allocations: 123.6 kB / 1.601 GB, free: 95.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/3.725, allocations: 121.4 kB / 1.601 GB, free: 95.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/3.728, allocations: 1.621 MB / 1.603 GB, free: 95.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/3.729, allocations: 2.438 kB / 1.603 GB, free: 95.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/3.729, allocations: 53.62 kB / 1.603 GB, free: 95.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/3.729, allocations: 51.16 kB / 1.603 GB, free: 95.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/3.733, allocations: 1.437 MB / 1.605 GB, free: 95.14 MB / 0.6823 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.01042/3.744, allocations: 6.991 MB / 1.611 GB, free: 92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/3.746, allocations: 0.724 MB / 1.612 GB, free: 91.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/3.747, allocations: 1.271 MB / 1.613 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/3.747, allocations: 46.78 kB / 1.613 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.725e-06/3.747, allocations: 0 / 1.613 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.01106/3.758, allocations: 2.379 MB / 1.616 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/3.758, allocations: 117.1 kB / 1.616 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/3.76, allocations: 1.27 MB / 1.617 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/3.76, allocations: 41.36 kB / 1.617 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/3.761, allocations: 0.6953 MB / 1.618 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/3.761, allocations: 229.6 kB / 1.618 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/3.761, allocations: 17.44 kB / 1.618 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/3.761, allocations: 344.8 kB / 1.618 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/3.763, allocations: 469.7 kB / 1.619 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/3.765, allocations: 0.75 MB / 1.62 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/3.767, allocations: 0.5214 MB / 1.62 GB, free: 89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/3.767, allocations: 3.688 kB / 1.62 GB, free: 89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004593/3.771, allocations: 1.476 MB / 1.621 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005268/3.772, allocations: 2.498 MB / 1.624 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/3.772, allocations: 6.969 kB / 1.624 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/3.773, allocations: 466.7 kB / 1.624 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/3.775, allocations: 242.5 kB / 1.625 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/3.776, allocations: 1.071 MB / 1.626 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/3.779, allocations: 273.1 kB / 1.626 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/3.779, allocations: 56.25 kB / 1.626 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/3.779, allocations: 3.781 kB / 1.626 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004382/3.783, allocations: 1.317 MB / 1.627 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/3.783, allocations: 3.125 kB / 1.627 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/3.785, allocations: 457 kB / 1.628 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/3.786, allocations: 245.3 kB / 1.628 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/3.787, allocations: 1.075 MB / 1.629 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/3.79, allocations: 233.1 kB / 1.629 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/3.79, allocations: 50.81 kB / 1.629 GB, free: 85.12 MB / 0.6823 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 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001014/3.791, allocations: 448.6 kB / 1.63 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/3.791, allocations: 145.8 kB / 1.63 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/3.795, allocations: 1.228 MB / 1.631 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/3.795, allocations: 10.55 kB / 1.631 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/3.795, allocations: 3.953 kB / 1.631 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003171/3.798, allocations: 1.099 MB / 1.632 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007587/3.806, allocations: 3.31 MB / 1.635 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/3.806, allocations: 3.969 kB / 1.635 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000946/3.807, allocations: 147 kB / 1.635 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/3.808, allocations: 454.7 kB / 1.636 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/3.808, allocations: 21.64 kB / 1.636 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/3.809, allocations: 1.058 MB / 1.637 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/3.809, allocations: 5.531 kB / 1.637 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/3.813, allocations: 1.561 MB / 1.638 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/3.814, allocations: 385.8 kB / 1.639 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/3.814, allocations: 19.97 kB / 1.639 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/3.816, allocations: 135.7 kB / 1.639 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/3.816, allocations: 60.8 kB / 1.639 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.865e-05/3.816, allocations: 44.3 kB / 1.639 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001578/3.818, allocations: 1.002 MB / 1.64 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/3.818, allocations: 0 / 1.64 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003013/3.821, allocations: 0.9787 MB / 1.641 GB, free: 82.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/3.823, allocations: 0.8594 MB / 1.642 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006115/3.829, allocations: 1.746 MB / 1.644 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/3.829, allocations: 3.688 kB / 1.644 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/3.831, allocations: 0.5117 MB / 1.644 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/3.834, allocations: 0.7855 MB / 1.645 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/3.84, allocations: 2.971 MB / 1.648 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/3.841, allocations: 1.241 MB / 1.649 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001855/3.843, allocations: 332.4 kB / 1.649 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/3.843, allocations: 119.6 kB / 1.649 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/3.843, allocations: 0 / 1.649 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.06042/3.903, allocations: 39.19 MB / 1.688 GB, free: 77.66 MB / 0.6823 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)