Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007694/0.007694, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.3 MB / 148.1 MB, free: 212 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.2 MB / 403.2 MB, free: 6.762 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.001023/0.001023, allocations: 105.4 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 11.98 kB / 0.5641 GB, free: 2.164 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4746, allocations: 81.58 MB / 0.6437 GB, free: 39.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8473/1.322, allocations: 380.1 MB / 1.015 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.322, allocations: 87.55 kB / 1.015 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.398/6.721, allocations: 1.483 GB / 2.498 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.058e-06/6.721, allocations: 3.5 kB / 2.498 GB, free: 78.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001481/6.722, allocations: 162.2 kB / 2.498 GB, free: 78.3 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.02536/6.748, allocations: 5.902 MB / 2.504 GB, free: 75.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/6.748, allocations: 10.69 kB / 2.504 GB, free: 75.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005832/6.754, allocations: 0.812 MB / 2.504 GB, free: 75.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/6.774, allocations: 6.905 MB / 2.511 GB, free: 74.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003627/6.775, allocations: 260.9 kB / 2.511 GB, free: 74.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/6.776, allocations: 350.5 kB / 2.512 GB, free: 74.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/6.787, allocations: 5.354 MB / 2.517 GB, free: 74.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.797e-05/6.787, allocations: 7.75 kB / 2.517 GB, free: 74.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005982/6.788, allocations: 140.4 kB / 2.517 GB, free: 74.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/6.788, allocations: 116.2 kB / 2.517 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0097/6.797, allocations: 5.07 MB / 2.522 GB, free: 74.1 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.03986/6.837, allocations: 22.82 MB / 2.544 GB, free: 64.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/6.842, allocations: 2.578 MB / 2.547 GB, free: 64.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01708/6.859, allocations: 7.14 MB / 2.554 GB, free: 61.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002903/6.862, allocations: 1.843 MB / 2.556 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006887/6.869, allocations: 2.046 MB / 2.558 GB, free: 61.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 1.638e-05/6.869, allocations: 0 / 2.558 GB, free: 61.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.01919/6.888, allocations: 7.142 MB / 2.565 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/6.888, allocations: 67.28 kB / 2.565 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009193/6.897, allocations: 4.604 MB / 2.569 GB, free: 60.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007553/6.898, allocations: 69.88 kB / 2.569 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002594/6.901, allocations: 2.475 MB / 2.572 GB, free: 59.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009773/6.902, allocations: 0.5503 MB / 2.572 GB, free: 59.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/6.902, allocations: 51.88 kB / 2.572 GB, free: 59.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001372/6.902, allocations: 420 kB / 2.573 GB, free: 59.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/6.904, allocations: 1.518 MB / 2.574 GB, free: 59.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/6.907, allocations: 2.788 MB / 2.577 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/6.91, allocations: 1.972 MB / 2.579 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/6.91, allocations: 11.59 kB / 2.579 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.008519/6.918, allocations: 5.516 MB / 2.584 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002908/6.921, allocations: 15.3 MB / 2.599 GB, free: 38.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/6.921, allocations: 35.3 kB / 2.599 GB, free: 38.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06659/6.988, allocations: 11.47 MB / 2.61 GB, free: 33.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/6.991, allocations: 0.6506 MB / 2.611 GB, free: 33.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007377/6.998, allocations: 4.727 MB / 2.616 GB, free: 29.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007305/7.006, allocations: 363.8 kB / 2.616 GB, free: 29.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009609/7.007, allocations: 151.2 kB / 2.616 GB, free: 28.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/7.007, allocations: 4 kB / 2.616 GB, free: 28.96 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/7.017, allocations: 5.007 MB / 2.621 GB, free: 24.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/7.017, allocations: 37 kB / 2.621 GB, free: 24.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06528/7.082, allocations: 11.38 MB / 2.632 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/7.085, allocations: 0.6435 MB / 2.633 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/7.096, allocations: 7.795 MB / 2.64 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/7.101, allocations: 349.7 kB / 2.641 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006603/7.102, allocations: 147.9 kB / 2.641 GB, free: 4.012 MB / 0.7136 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.003855/7.106, allocations: 1.551 MB / 2.642 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/7.108, allocations: 466.2 kB / 2.643 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007893/7.116, allocations: 4.599 MB / 2.647 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/7.116, allocations: 16 kB / 2.647 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/7.116, allocations: 0 / 2.647 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0113/7.127, allocations: 6.213 MB / 2.654 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5572/7.684, allocations: 12.65 MB / 2.666 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/7.684, allocations: 0.5625 kB / 2.666 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/7.687, allocations: 369.7 kB / 2.666 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06709/7.754, allocations: 11.63 MB / 2.678 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005294/7.754, allocations: 50.08 kB / 2.678 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/7.76, allocations: 4.11 MB / 2.682 GB, free: 99.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/7.76, allocations: 1.875 kB / 2.682 GB, free: 99.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/7.782, allocations: 9.339 MB / 2.691 GB, free: 99.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005964/7.788, allocations: 1.11 MB / 2.692 GB, free: 99.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002247/7.79, allocations: 34.92 kB / 2.692 GB, free: 99.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004667/7.795, allocations: 296 kB / 2.692 GB, free: 99.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/7.795, allocations: 110.6 kB / 2.692 GB, free: 99.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/7.795, allocations: 83.89 kB / 2.692 GB, free: 99.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005448/7.801, allocations: 3.559 MB / 2.696 GB, free: 99.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/7.801, allocations: 0 / 2.696 GB, free: 99.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01035/7.811, allocations: 2.777 MB / 2.699 GB, free: 99.02 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.002508/7.814, allocations: 1.204 MB / 2.7 GB, free: 98.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01531/7.829, allocations: 7.284 MB / 2.707 GB, free: 98.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/7.829, allocations: 3.656 kB / 2.707 GB, free: 98.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/7.834, allocations: 2.478 MB / 2.709 GB, free: 98.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01328/7.848, allocations: 2.695 MB / 2.712 GB, free: 98.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/7.865, allocations: 11.08 MB / 2.723 GB, free: 94.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/7.868, allocations: 3.321 MB / 2.726 GB, free: 93.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00631/7.874, allocations: 1.683 MB / 2.728 GB, free: 93.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/7.876, allocations: 362.2 kB / 2.728 GB, free: 93.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.253e-06/7.876, allocations: 0 / 2.728 GB, free: 93.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.1685/8.044, allocations: 113.1 MB / 2.838 GB, free: 65.73 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)