Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002724/0.002724, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7265/0.7265, allocations: 130.6 MB / 143.8 MB, free: 13.59 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.537/1.537, allocations: 221.3 MB / 396.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.64 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.331e-05, allocations: 8.125 kB / 0.5551 GB, free: 85.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.349, allocations: 364.4 MB / 0.9906 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.349, allocations: 88.95 kB / 0.9906 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.182/3.531, allocations: 0.7014 GB / 1.692 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/3.531, allocations: 0 / 1.692 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002024/3.532, allocations: 53.23 kB / 1.692 GB, free: 65.57 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.004055/3.536, allocations: 1.852 MB / 1.694 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/3.536, allocations: 8.031 kB / 1.694 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/3.537, allocations: 289.3 kB / 1.694 GB, free: 63.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/3.543, allocations: 2.53 MB / 1.697 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/3.543, allocations: 86.84 kB / 1.697 GB, free: 60.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/3.544, allocations: 104 kB / 1.697 GB, free: 60.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/3.545, allocations: 1.202 MB / 1.698 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/3.545, allocations: 4 kB / 1.698 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/3.545, allocations: 44 kB / 1.698 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/3.545, allocations: 24 kB / 1.698 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/3.547, allocations: 0.8822 MB / 1.699 GB, free: 58.45 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00684/3.553, allocations: 6.6 MB / 1.705 GB, free: 51.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/3.554, allocations: 0.5582 MB / 1.706 GB, free: 50.87 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/3.555, allocations: 368.3 kB / 1.706 GB, free: 50.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00252/3.557, allocations: 1.637 MB / 1.708 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/3.558, allocations: 337.2 kB / 1.708 GB, free: 48.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006999/3.558, allocations: 135.2 kB / 1.708 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.876e-06/3.558, allocations: 0 / 1.708 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001163/3.56, allocations: 0.7639 MB / 1.709 GB, free: 47.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/3.56, allocations: 59.84 kB / 1.709 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/3.561, allocations: 1.553 MB / 1.711 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/3.561, allocations: 45.64 kB / 1.711 GB, free: 45.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/3.562, allocations: 0.8475 MB / 1.712 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/3.562, allocations: 161.7 kB / 1.712 GB, free: 44.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/3.562, allocations: 16 kB / 1.712 GB, free: 44.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/3.562, allocations: 341.9 kB / 1.712 GB, free: 44.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/3.562, allocations: 253.7 kB / 1.712 GB, free: 44.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/3.563, allocations: 0.6828 MB / 1.713 GB, free: 43.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/3.563, allocations: 389.1 kB / 1.713 GB, free: 42.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/3.563, allocations: 8 kB / 1.713 GB, free: 42.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001512/3.565, allocations: 1.141 MB / 1.714 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008154/3.566, allocations: 4.131 MB / 1.718 GB, free: 37.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/3.566, allocations: 8 kB / 1.718 GB, free: 37.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/3.566, allocations: 136.8 kB / 1.719 GB, free: 37.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/3.567, allocations: 175.7 kB / 1.719 GB, free: 37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005288/3.567, allocations: 0.7524 MB / 1.72 GB, free: 36.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/3.569, allocations: 115.6 kB / 1.72 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/3.569, allocations: 51.92 kB / 1.72 GB, free: 36.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/3.569, allocations: 4 kB / 1.72 GB, free: 36.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/3.57, allocations: 1.008 MB / 1.721 GB, free: 35.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/3.57, allocations: 12 kB / 1.721 GB, free: 35.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/3.57, allocations: 121.8 kB / 1.721 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/3.571, allocations: 163.7 kB / 1.721 GB, free: 34.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/3.573, allocations: 2.117 MB / 1.723 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/3.574, allocations: 91.84 kB / 1.723 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/3.574, allocations: 47.98 kB / 1.723 GB, free: 32.34 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 () * 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.0002195/3.574, allocations: 169.9 kB / 1.723 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/3.574, allocations: 177.8 kB / 1.723 GB, free: 31.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/3.576, allocations: 0.9449 MB / 1.724 GB, free: 31.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/3.576, allocations: 8 kB / 1.724 GB, free: 31.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/3.576, allocations: 3.953 kB / 1.724 GB, free: 31.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008727/3.577, allocations: 0.8865 MB / 1.725 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/3.58, allocations: 2.108 MB / 1.727 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/3.58, allocations: 0 / 1.727 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/3.581, allocations: 87.94 kB / 1.727 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/3.581, allocations: 131.6 kB / 1.728 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/3.581, allocations: 15.98 kB / 1.728 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004372/3.581, allocations: 0.7369 MB / 1.728 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.581, allocations: 4 kB / 1.728 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/3.583, allocations: 1.313 MB / 1.73 GB, free: 25.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007245/3.584, allocations: 314.7 kB / 1.73 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/3.584, allocations: 12 kB / 1.73 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/3.584, allocations: 79.92 kB / 1.73 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/3.585, allocations: 40.33 kB / 1.73 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/3.585, allocations: 23.98 kB / 1.73 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001387/3.586, allocations: 1.216 MB / 1.731 GB, free: 23.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.586, allocations: 0 / 1.731 GB, free: 23.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002666/3.589, allocations: 0.8737 MB / 1.732 GB, free: 22.93 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) * 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.001386/3.59, allocations: 0.7961 MB / 1.733 GB, free: 22.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00198/3.592, allocations: 1.414 MB / 1.734 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/3.592, allocations: 4.062 kB / 1.734 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/3.593, allocations: 310.1 kB / 1.735 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/3.596, allocations: 0.7363 MB / 1.735 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/3.599, allocations: 2.248 MB / 1.737 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/3.6, allocations: 1.531 MB / 1.739 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002602/3.602, allocations: 0.8749 MB / 1.74 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/3.603, allocations: 95.41 kB / 1.74 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/3.603, allocations: 0 / 1.74 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of Templates: time 0.4853/4.088, allocations: 38.13 MB / 1.777 GB, free: 109.1 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)