Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007647/0.007646, allocations: 101.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 200 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4351/0.4351, allocations: 54.94 MB / 324.8 MB, free: 16 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 71.42 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1434, allocations: 59.59 MB / 0.5037 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.03095/0.1744, allocations: 32.64 MB / 0.5356 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02049/0.1949, allocations: 12.57 MB / 0.5478 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.1973, allocations: 51.69 kB / 0.5479 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.2005, allocations: 0.738 MB / 0.5486 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005917/0.2064, allocations: 1.512 MB / 0.5501 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.2113, allocations: 1.408 MB / 0.5515 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006778/0.2181, allocations: 4.743 MB / 0.5561 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/0.2214, allocations: 1.996 MB / 0.5581 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.2263, allocations: 1.845 MB / 0.5599 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.229, allocations: 1.365 MB / 0.5612 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006335/0.2297, allocations: 144 kB / 0.5613 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.2336, allocations: 1.186 MB / 0.5625 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009759/0.2346, allocations: 482.3 kB / 0.5629 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.2366, allocations: 1.014 MB / 0.5639 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.2421, allocations: 2.933 MB / 0.5668 GB, free: 10.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2421, allocations: 0 / 0.5668 GB, free: 10.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2422, allocations: 0 / 0.5668 GB, free: 10.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.2423, allocations: 0 / 0.5668 GB, free: 10.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.006208/0.2485, allocations: 2.365 MB / 0.5691 GB, free: 7.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.2486, allocations: 8.031 kB / 0.5691 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.2502, allocations: 306.2 kB / 0.5694 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/0.2546, allocations: 1.67 MB / 0.571 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2548, allocations: 82 kB / 0.5711 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.2552, allocations: 108 kB / 0.5712 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.2593, allocations: 1.518 MB / 0.5727 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.2594, allocations: 11.94 kB / 0.5727 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.2595, allocations: 40 kB / 0.5728 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.2596, allocations: 27.94 kB / 0.5728 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.263, allocations: 1.194 MB / 0.5739 GB, free: 2.695 MB / 446.1 MB 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.01096/0.274, allocations: 6.881 MB / 0.5807 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.2768, allocations: 0.7538 MB / 0.5814 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.2776, allocations: 381.9 kB / 0.5818 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003257/0.2809, allocations: 1.444 MB / 0.5832 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/0.2831, allocations: 0.5643 MB / 0.5837 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008049/0.284, allocations: 83.25 kB / 0.5838 GB, free: 8.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=45): time 5.25e-06/0.284, allocations: 0 / 0.5838 GB, free: 8.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.01244/0.2964, allocations: 3.076 MB / 0.5868 GB, free: 4.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.2966, allocations: 144.9 kB / 0.5869 GB, free: 4.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.3002, allocations: 1.779 MB / 0.5887 GB, free: 2.863 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.3004, allocations: 45.7 kB / 0.5887 GB, free: 2.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.3016, allocations: 0.8654 MB / 0.5896 GB, free: 1.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.302, allocations: 173.6 kB / 0.5897 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.3025, allocations: 206.4 kB / 0.5899 GB, free: 1.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3027, allocations: 345.9 kB / 0.5903 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3038, allocations: 388.4 kB / 0.5906 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.3054, allocations: 0.8557 MB / 0.5915 GB, free: 15.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.3076, allocations: 1.131 MB / 0.5926 GB, free: 14.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.3076, allocations: 4 kB / 0.5926 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00553/0.3132, allocations: 1.623 MB / 0.5942 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.3133, allocations: 40.05 kB / 0.5942 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.3133, allocations: 12.88 kB / 0.5942 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.3143, allocations: 300.5 kB / 0.5945 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/0.3151, allocations: 183.7 kB / 0.5947 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009151/0.3242, allocations: 3.902 MB / 0.5985 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.3258, allocations: 59.95 kB / 0.5985 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.3261, allocations: 55.97 kB / 0.5986 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/0.3276, allocations: 0.7243 MB / 0.5993 GB, free: 7.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009925/0.3286, allocations: 0.7741 MB / 0.6001 GB, free: 6.402 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001579/0.3302, allocations: 0.9951 MB / 0.601 GB, free: 5.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-05/0.3302, allocations: 7.984 kB / 0.601 GB, free: 5.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002963/0.3332, allocations: 1.345 MB / 0.6024 GB, free: 3.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.3332, allocations: 41.7 kB / 0.6024 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.3333, allocations: 12.84 kB / 0.6024 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.3336, allocations: 120.8 kB / 0.6025 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.3343, allocations: 175.7 kB / 0.6027 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.3368, allocations: 2.333 MB / 0.605 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.3382, allocations: 64.38 kB / 0.605 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3383, allocations: 40 kB / 0.6051 GB, free: 0.9336 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,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 (94): * Single equations (assignments): 91 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004885/0.3388, allocations: 251.9 kB / 0.6053 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.3394, allocations: 173.8 kB / 0.6055 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.3438, allocations: 1.274 MB / 0.6067 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.3439, allocations: 8 kB / 0.6067 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3439, allocations: 0 / 0.6067 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003444/0.3473, allocations: 1.215 MB / 0.6079 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/0.3541, allocations: 2.491 MB / 0.6103 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.3542, allocations: 3.938 kB / 0.6103 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.3547, allocations: 99.86 kB / 0.6104 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/0.3555, allocations: 276.6 kB / 0.6107 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.3556, allocations: 23.97 kB / 0.6107 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008216/0.3638, allocations: 3.667 MB / 0.6143 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3639, allocations: 4.062 kB / 0.6143 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.3693, allocations: 1.712 MB / 0.616 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.3704, allocations: 303 kB / 0.6163 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/0.3709, allocations: 16 kB / 0.6163 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.372, allocations: 51.8 kB / 0.6163 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.3723, allocations: 60.41 kB / 0.6164 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.3723, allocations: 27.97 kB / 0.6164 GB, free: 4.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002589/0.3749, allocations: 1.223 MB / 0.6176 GB, free: 3.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.375, allocations: 4 kB / 0.6176 GB, free: 3.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004222/0.3792, allocations: 0.7539 MB / 0.6184 GB, free: 2.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.medium.T) * 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 (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.3805, allocations: 376.8 kB / 0.6187 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004312/0.3848, allocations: 1.835 MB / 0.6205 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3848, allocations: 0 / 0.6205 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3863, allocations: 0.5837 MB / 0.6211 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/0.3904, allocations: 0.8103 MB / 0.6219 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.3966, allocations: 2.983 MB / 0.6248 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.3982, allocations: 1.496 MB / 0.6262 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001837/0.4001, allocations: 450.6 kB / 0.6267 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.4006, allocations: 131.4 kB / 0.6268 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.4006, allocations: 0 / 0.6268 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.3744/0.775, allocations: 37.15 MB / 0.6631 GB, free: 108.2 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe 2>&1)