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: "" <> buildModelFMU(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01645/0.01645, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.503/1.503, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.854/2.854, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001585/0.001585, allocations: 92.34 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007059/0.0007058, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9047/0.9055, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.841/2.747, allocations: 380.3 MB / 1.021 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004143/2.747, allocations: 89.97 kB / 1.021 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.12/13.87, allocations: 1.483 GB / 2.504 GB, free: 75.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.25e-06/13.87, allocations: 0 / 2.504 GB, free: 75.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001789/13.87, allocations: 156.6 kB / 2.504 GB, free: 75.16 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.04039/13.91, allocations: 5.91 MB / 2.51 GB, free: 72.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.651e-05/13.91, allocations: 9.062 kB / 2.51 GB, free: 72.81 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003473/13.91, allocations: 477.7 kB / 2.51 GB, free: 72.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00736/13.92, allocations: 0.806 MB / 2.511 GB, free: 72.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02764/13.95, allocations: 6.902 MB / 2.518 GB, free: 71.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007981/13.95, allocations: 266.8 kB / 2.518 GB, free: 71.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/13.95, allocations: 347.8 kB / 2.518 GB, free: 71.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/13.98, allocations: 5.346 MB / 2.523 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/13.98, allocations: 13.83 kB / 2.523 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/13.98, allocations: 144 kB / 2.524 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/13.98, allocations: 113.1 kB / 2.524 GB, free: 70.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/14, allocations: 5.071 MB / 2.529 GB, free: 70.87 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.07427/14.08, allocations: 22.82 MB / 2.551 GB, free: 60.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/14.09, allocations: 2.58 MB / 2.553 GB, free: 60.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03058/14.12, allocations: 7.14 MB / 2.56 GB, free: 58.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005749/14.12, allocations: 1.843 MB / 2.562 GB, free: 58.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01389/14.14, allocations: 2.052 MB / 2.564 GB, free: 58.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 4.079e-05/14.14, allocations: 0 / 2.564 GB, free: 58.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.03631/14.17, allocations: 7.146 MB / 2.571 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/14.17, allocations: 69.38 kB / 2.571 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02196/14.19, allocations: 4.601 MB / 2.576 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001501/14.2, allocations: 72.33 kB / 2.576 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006524/14.2, allocations: 2.457 MB / 2.578 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00243/14.21, allocations: 0.5583 MB / 2.579 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005493/14.21, allocations: 49.78 kB / 2.579 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004493/14.21, allocations: 420.2 kB / 2.579 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005108/14.21, allocations: 1.512 MB / 2.581 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007718/14.22, allocations: 2.796 MB / 2.583 GB, free: 52.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008049/14.23, allocations: 1.964 MB / 2.585 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.093e-05/14.23, allocations: 15.81 kB / 2.585 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.02425/14.25, allocations: 5.519 MB / 2.591 GB, free: 49.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.01238/14.26, allocations: 15.3 MB / 2.606 GB, free: 48.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002919/14.27, allocations: 33 kB / 2.606 GB, free: 48.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1002/14.37, allocations: 11.46 MB / 2.617 GB, free: 42.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/14.37, allocations: 0.6512 MB / 2.618 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/14.38, allocations: 4.73 MB / 2.622 GB, free: 36.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/14.39, allocations: 366 kB / 2.623 GB, free: 36.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/14.4, allocations: 155.9 kB / 2.623 GB, free: 36.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/14.4, allocations: 4 kB / 2.623 GB, free: 36.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01671/14.41, allocations: 4.998 MB / 2.628 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001986/14.41, allocations: 32 kB / 2.628 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1055/14.52, allocations: 11.38 MB / 2.639 GB, free: 19.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/14.52, allocations: 0.6435 MB / 2.639 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/14.54, allocations: 7.795 MB / 2.647 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/14.55, allocations: 347.1 kB / 2.647 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/14.55, allocations: 144 kB / 2.647 GB, free: 10.57 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.008401/14.56, allocations: 1.559 MB / 2.649 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003103/14.57, allocations: 466.2 kB / 2.649 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/14.58, allocations: 4.593 MB / 2.654 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/14.58, allocations: 19.95 kB / 2.654 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/14.58, allocations: 4 kB / 2.654 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059/15.64, allocations: 6.198 MB / 2.66 GB, free: 98.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05915/15.7, allocations: 12.65 MB / 2.672 GB, free: 97.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-05/15.7, allocations: 0 / 2.672 GB, free: 97.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003781/15.7, allocations: 373.6 kB / 2.673 GB, free: 97.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1091/15.81, allocations: 11.63 MB / 2.684 GB, free: 97.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007603/15.81, allocations: 49.84 kB / 2.684 GB, free: 97.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/15.82, allocations: 4.117 MB / 2.688 GB, free: 95.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/15.82, allocations: 2.844 kB / 2.688 GB, free: 95.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03839/15.86, allocations: 9.342 MB / 2.697 GB, free: 95.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008079/15.87, allocations: 1.113 MB / 2.698 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003558/15.88, allocations: 30.5 kB / 2.698 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00947/15.88, allocations: 296 kB / 2.699 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00091/15.89, allocations: 107.2 kB / 2.699 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005966/15.89, allocations: 80.23 kB / 2.699 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0145/15.9, allocations: 3.555 MB / 2.702 GB, free: 94.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.072e-06/15.9, allocations: 0 / 2.702 GB, free: 94.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02687/15.93, allocations: 2.775 MB / 2.705 GB, free: 94.93 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.04436/15.97, allocations: 10.98 MB / 2.716 GB, free: 93.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.03237/16, allocations: 7.276 MB / 2.723 GB, free: 93.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-05/16, allocations: 5.641 kB / 2.723 GB, free: 93.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01058/16.02, allocations: 2.488 MB / 2.725 GB, free: 93.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02689/16.04, allocations: 2.696 MB / 2.728 GB, free: 93.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07673/16.12, allocations: 40.86 MB / 2.768 GB, free: 59.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/16.13, allocations: 3.319 MB / 2.771 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01657/16.15, allocations: 1.682 MB / 2.773 GB, free: 58.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008318/16.16, allocations: 2.019 MB / 2.775 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of SimCode: time 1.884e-05/16.16, allocations: 0 / 2.775 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4662/16.62, allocations: 157.3 MB / 2.928 GB, free: 6.875 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003995/16.62, allocations: 246.2 kB / 2.928 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/31.21, allocations: 0 / 2.928 GB, free: 6.59 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)