Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006101/0.006101, allocations: 169.5 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.7447/0.7447, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.508/1.508, 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.0009717/0.0009718, allocations: 101.6 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 16 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4964, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9176/1.414, allocations: 364.7 MB / 1.006 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.414, allocations: 97.7 kB / 1.006 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.879/4.294, allocations: 0.7041 GB / 1.71 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/4.294, allocations: 0 / 1.71 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002083/4.294, allocations: 45.09 kB / 1.71 GB, free: 115.3 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006569/4.301, allocations: 2.45 MB / 1.712 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/4.301, allocations: 9.406 kB / 1.712 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/4.302, allocations: 285.8 kB / 1.713 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005792/4.308, allocations: 2.556 MB / 1.715 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/4.308, allocations: 83.22 kB / 1.715 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/4.308, allocations: 108.3 kB / 1.715 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/4.31, allocations: 1.25 MB / 1.716 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/4.31, allocations: 0 / 1.716 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/4.31, allocations: 47.12 kB / 1.716 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/4.31, allocations: 22.97 kB / 1.716 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/4.312, allocations: 0.9538 MB / 1.717 GB, free: 110.5 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.007253/4.319, allocations: 6.61 MB / 1.724 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/4.32, allocations: 0.6124 MB / 1.724 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002908/4.323, allocations: 1.623 MB / 1.726 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/4.324, allocations: 366.1 kB / 1.726 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008345/4.325, allocations: 134.3 kB / 1.727 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.208e-06/4.325, allocations: 3.938 kB / 1.727 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002818/4.328, allocations: 1.256 MB / 1.728 GB, free: 99.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/4.328, allocations: 57.84 kB / 1.728 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/4.33, allocations: 1.572 MB / 1.729 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/4.33, allocations: 45.7 kB / 1.729 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/4.33, allocations: 0.8499 MB / 1.73 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/4.331, allocations: 171.7 kB / 1.73 GB, free: 97.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/4.331, allocations: 19.94 kB / 1.73 GB, free: 97.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/4.331, allocations: 337.9 kB / 1.731 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/4.331, allocations: 279.6 kB / 1.731 GB, free: 96.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/4.332, allocations: 0.7216 MB / 1.732 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/4.333, allocations: 424.4 kB / 1.732 GB, free: 95.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/4.333, allocations: 6.469 kB / 1.732 GB, free: 95.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00208/4.335, allocations: 1.215 MB / 1.733 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009891/4.336, allocations: 4.139 MB / 1.737 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/4.336, allocations: 10.03 kB / 1.737 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/4.336, allocations: 144.1 kB / 1.737 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/4.337, allocations: 172.8 kB / 1.738 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/4.337, allocations: 0.7605 MB / 1.738 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/4.339, allocations: 98.72 kB / 1.738 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/4.339, allocations: 51.98 kB / 1.739 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/4.339, allocations: 0 / 1.739 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/4.341, allocations: 1.073 MB / 1.74 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/4.341, allocations: 8 kB / 1.74 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/4.341, allocations: 122.3 kB / 1.74 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/4.341, allocations: 165 kB / 1.74 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/4.343, allocations: 2.151 MB / 1.742 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/4.345, allocations: 109.4 kB / 1.742 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/4.345, allocations: 39.98 kB / 1.742 GB, free: 84.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001346/4.346, allocations: 0.5826 MB / 1.743 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/4.347, allocations: 173.8 kB / 1.743 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/4.349, allocations: 1.008 MB / 1.744 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/4.349, allocations: 8 kB / 1.744 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/4.349, allocations: 0 / 1.744 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/4.35, allocations: 0.9496 MB / 1.745 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/4.354, allocations: 2.169 MB / 1.747 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/4.354, allocations: 4 kB / 1.747 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/4.354, allocations: 83.88 kB / 1.747 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/4.354, allocations: 131.8 kB / 1.747 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/4.354, allocations: 16 kB / 1.747 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004455/4.355, allocations: 0.7427 MB / 1.748 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/4.355, allocations: 0 / 1.748 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/4.357, allocations: 1.409 MB / 1.749 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008854/4.358, allocations: 322.7 kB / 1.75 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/4.358, allocations: 12 kB / 1.75 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/4.359, allocations: 75.89 kB / 1.75 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/4.359, allocations: 40.38 kB / 1.75 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/4.359, allocations: 23.92 kB / 1.75 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001594/4.361, allocations: 1.239 MB / 1.751 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/4.361, allocations: 0 / 1.751 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002898/4.364, allocations: 0.8723 MB / 1.752 GB, free: 74.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/4.365, allocations: 0.8094 MB / 1.753 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002487/4.368, allocations: 1.445 MB / 1.754 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/4.368, allocations: 0 / 1.754 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006079/4.368, allocations: 339.9 kB / 1.754 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/4.371, allocations: 0.7253 MB / 1.755 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/4.376, allocations: 3.449 MB / 1.758 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/4.377, allocations: 1.531 MB / 1.76 GB, free: 66.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001762/4.379, allocations: 448.7 kB / 1.76 GB, free: 65.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/4.379, allocations: 123.4 kB / 1.76 GB, free: 65.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/4.379, allocations: 4 kB / 1.76 GB, free: 65.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.05961/4.439, allocations: 33.53 MB / 1.793 GB, free: 32.98 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)