Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007385/0.007385, allocations: 169.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7663/0.7663, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.814/1.814, allocations: 223.2 MB / 406.9 MB, free: 3.23 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.001122/0.001121, allocations: 101.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.000365, allocations: 11.94 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5253, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8644/1.39, allocations: 380.3 MB / 1.021 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.39, allocations: 90.16 kB / 1.021 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.481/6.872, allocations: 1.483 GB / 2.504 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.137e-06/6.872, allocations: 2.125 kB / 2.504 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0009056/6.873, allocations: 155.5 kB / 2.504 GB, free: 75.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.02001/6.893, allocations: 5.913 MB / 2.51 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/6.893, allocations: 7.719 kB / 2.51 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005636/6.898, allocations: 0.8054 MB / 2.51 GB, free: 72.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/6.918, allocations: 6.92 MB / 2.517 GB, free: 72.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/6.918, allocations: 263.1 kB / 2.517 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/6.92, allocations: 347.2 kB / 2.518 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/6.931, allocations: 5.344 MB / 2.523 GB, free: 71.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/6.931, allocations: 10.75 kB / 2.523 GB, free: 71.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/6.933, allocations: 152 kB / 2.523 GB, free: 71.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/6.933, allocations: 110.8 kB / 2.523 GB, free: 71.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/6.944, allocations: 5.068 MB / 2.528 GB, free: 71.32 MB / 0.7136 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.04302/6.987, allocations: 22.82 MB / 2.55 GB, free: 61.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/6.992, allocations: 2.586 MB / 2.553 GB, free: 61.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/7.009, allocations: 7.132 MB / 2.56 GB, free: 59.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003428/7.013, allocations: 1.845 MB / 2.562 GB, free: 58.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007416/7.02, allocations: 2.052 MB / 2.564 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 1.783e-05/7.02, allocations: 0 / 2.564 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.02078/7.041, allocations: 7.155 MB / 2.571 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/7.041, allocations: 72.72 kB / 2.571 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/7.052, allocations: 4.595 MB / 2.575 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008557/7.053, allocations: 71.45 kB / 2.575 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003501/7.057, allocations: 2.45 MB / 2.578 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/7.058, allocations: 0.5638 MB / 2.578 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/7.059, allocations: 54.59 kB / 2.578 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002554/7.059, allocations: 411.5 kB / 2.579 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/7.062, allocations: 1.512 MB / 2.58 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/7.065, allocations: 2.795 MB / 2.583 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/7.069, allocations: 1.972 MB / 2.585 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/7.069, allocations: 11.69 kB / 2.585 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01321/7.082, allocations: 5.522 MB / 2.59 GB, free: 50.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003707/7.086, allocations: 15.29 MB / 2.605 GB, free: 33.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.305e-05/7.086, allocations: 32.66 kB / 2.605 GB, free: 33.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0656/7.151, allocations: 11.47 MB / 2.616 GB, free: 26.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/7.155, allocations: 0.6435 MB / 2.617 GB, free: 25.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008898/7.164, allocations: 4.726 MB / 2.622 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/7.171, allocations: 363 kB / 2.622 GB, free: 36.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009226/7.172, allocations: 151.9 kB / 2.622 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/7.172, allocations: 4 kB / 2.622 GB, free: 36.26 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009987/7.182, allocations: 5 MB / 2.627 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/7.182, allocations: 39.98 kB / 2.627 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0644/7.246, allocations: 11.38 MB / 2.638 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/7.25, allocations: 0.6421 MB / 2.639 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/7.261, allocations: 7.798 MB / 2.646 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006517/7.268, allocations: 351 kB / 2.647 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009223/7.269, allocations: 148 kB / 2.647 GB, free: 10.65 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00508/7.274, allocations: 1.559 MB / 2.648 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/7.277, allocations: 466.2 kB / 2.649 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/7.288, allocations: 4.589 MB / 2.653 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/7.288, allocations: 23.95 kB / 2.653 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/7.288, allocations: 0 / 2.653 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5127/7.8, allocations: 6.2 MB / 2.659 GB, free: 98.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/7.83, allocations: 12.65 MB / 2.672 GB, free: 97.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/7.83, allocations: 0 / 2.672 GB, free: 97.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/7.832, allocations: 373.1 kB / 2.672 GB, free: 97.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06504/7.897, allocations: 11.63 MB / 2.684 GB, free: 97.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005163/7.897, allocations: 44.91 kB / 2.684 GB, free: 97.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/7.903, allocations: 4.127 MB / 2.688 GB, free: 95.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/7.903, allocations: 0 / 2.688 GB, free: 95.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/7.925, allocations: 9.339 MB / 2.697 GB, free: 95.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005014/7.93, allocations: 1.109 MB / 2.698 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/7.932, allocations: 33.09 kB / 2.698 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004271/7.936, allocations: 295.3 kB / 2.698 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/7.937, allocations: 105.8 kB / 2.698 GB, free: 95.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/7.937, allocations: 82.89 kB / 2.698 GB, free: 95.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005624/7.943, allocations: 3.557 MB / 2.702 GB, free: 95.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.11e-07/7.943, allocations: 0 / 2.702 GB, free: 95.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01212/7.955, allocations: 2.782 MB / 2.704 GB, free: 94.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002751/7.957, allocations: 1.218 MB / 2.706 GB, free: 94.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0159/7.973, allocations: 7.276 MB / 2.713 GB, free: 94.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/7.973, allocations: 2.969 kB / 2.713 GB, free: 94.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/7.979, allocations: 2.487 MB / 2.715 GB, free: 94.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01481/7.993, allocations: 2.694 MB / 2.718 GB, free: 94.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/8.012, allocations: 11.06 MB / 2.729 GB, free: 90.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/8.015, allocations: 3.325 MB / 2.732 GB, free: 89.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.007564/8.023, allocations: 1.678 MB / 2.734 GB, free: 89.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/8.024, allocations: 360.1 kB / 2.734 GB, free: 89.38 MB / 0.7292 GB Notification: Performance of SimCode: time 1.693e-06/8.024, allocations: 0 / 2.734 GB, free: 89.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.169/8.193, allocations: 113.1 MB / 2.844 GB, free: 56.43 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)