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.007102/0.007102, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.001774/0.001774, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4453/0.4453, 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.001479/0.001479, allocations: 75.34 kB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 59.59 MB / 0.5038 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.0324/0.1664, allocations: 32.63 MB / 0.5356 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01946/0.1859, allocations: 12.57 MB / 0.5479 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.1881, allocations: 51.69 kB / 0.548 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.1906, allocations: 0.738 MB / 0.5487 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005197/0.1959, allocations: 1.512 MB / 0.5502 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.1999, allocations: 1.408 MB / 0.5515 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007742/0.2077, allocations: 4.743 MB / 0.5562 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.2116, allocations: 2.004 MB / 0.5581 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00545/0.2171, allocations: 1.876 MB / 0.56 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.2201, allocations: 1.361 MB / 0.5613 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007963/0.2209, allocations: 148 kB / 0.5614 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.2246, allocations: 1.186 MB / 0.5626 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.2256, allocations: 474.3 kB / 0.563 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.2284, allocations: 1.022 MB / 0.564 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.2351, allocations: 2.929 MB / 0.5669 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2351, allocations: 0 / 0.5669 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2351, allocations: 0 / 0.5669 GB, free: 10.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.2353, allocations: 0 / 0.5669 GB, free: 10.03 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.005499/0.2408, allocations: 2.365 MB / 0.5692 GB, free: 7.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2408, allocations: 8.031 kB / 0.5692 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.2423, allocations: 310.2 kB / 0.5695 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.2463, allocations: 1.67 MB / 0.5711 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2464, allocations: 81.94 kB / 0.5712 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.2467, allocations: 104 kB / 0.5713 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/0.2506, allocations: 1.518 MB / 0.5728 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.2506, allocations: 7.938 kB / 0.5728 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.2508, allocations: 44 kB / 0.5728 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.2508, allocations: 24 kB / 0.5729 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.2541, allocations: 1.186 MB / 0.574 GB, free: 2.516 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.009261/0.2634, allocations: 6.881 MB / 0.5807 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.2658, allocations: 0.7539 MB / 0.5815 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.2666, allocations: 381.9 kB / 0.5818 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/0.2691, allocations: 1.444 MB / 0.5833 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.2712, allocations: 0.5682 MB / 0.5838 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006201/0.2718, allocations: 87.23 kB / 0.5839 GB, free: 7.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/0.2718, allocations: 3.938 kB / 0.5839 GB, free: 7.828 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.01185/0.2837, allocations: 3.076 MB / 0.5869 GB, free: 4.668 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.2838, allocations: 137 kB / 0.587 GB, free: 4.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.287, allocations: 1.783 MB / 0.5888 GB, free: 2.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.2872, allocations: 41.7 kB / 0.5888 GB, free: 2.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009721/0.2882, allocations: 0.8732 MB / 0.5897 GB, free: 1.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.2885, allocations: 173.6 kB / 0.5898 GB, free: 1.574 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.2889, allocations: 210.4 kB / 0.59 GB, free: 1.359 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.289, allocations: 345.9 kB / 0.5904 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009444/0.2899, allocations: 388.4 kB / 0.5907 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.2913, allocations: 0.8518 MB / 0.5916 GB, free: 15.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.2935, allocations: 1.127 MB / 0.5927 GB, free: 14.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.2935, allocations: 4 kB / 0.5927 GB, free: 14.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005384/0.2989, allocations: 1.623 MB / 0.5943 GB, free: 12.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.299, allocations: 40.92 kB / 0.5943 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.299, allocations: 12 kB / 0.5943 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009368/0.3, allocations: 303.3 kB / 0.5946 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.3008, allocations: 191.6 kB / 0.5948 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009158/0.31, allocations: 3.892 MB / 0.5986 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3115, allocations: 63.95 kB / 0.5986 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.3117, allocations: 55.97 kB / 0.5987 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001465/0.3132, allocations: 0.7204 MB / 0.5994 GB, free: 7.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009775/0.3142, allocations: 0.774 MB / 0.6002 GB, free: 6.215 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/0.3157, allocations: 1.003 MB / 0.6011 GB, free: 5.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.456e-06/0.3157, allocations: 4 kB / 0.6011 GB, free: 5.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002572/0.3183, allocations: 1.341 MB / 0.6024 GB, free: 3.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.3183, allocations: 37.7 kB / 0.6025 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3183, allocations: 12.88 kB / 0.6025 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.3186, allocations: 124.8 kB / 0.6026 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.3193, allocations: 175.7 kB / 0.6028 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.3216, allocations: 2.324 MB / 0.605 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3227, allocations: 64.38 kB / 0.6051 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.3228, allocations: 52.05 kB / 0.6052 GB, free: 0.7422 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.0003955/0.3232, allocations: 243.9 kB / 0.6054 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.3236, allocations: 177.8 kB / 0.6056 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.3276, allocations: 1.27 MB / 0.6068 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.3277, allocations: 8 kB / 0.6068 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3277, allocations: 0 / 0.6068 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003275/0.3309, allocations: 1.215 MB / 0.608 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007/0.338, allocations: 2.495 MB / 0.6104 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.338, allocations: 3.938 kB / 0.6104 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.3385, allocations: 95.86 kB / 0.6105 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007536/0.3393, allocations: 284.6 kB / 0.6108 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.3393, allocations: 23.97 kB / 0.6108 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007439/0.3468, allocations: 3.671 MB / 0.6144 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3468, allocations: 8 kB / 0.6144 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.3516, allocations: 1.712 MB / 0.6161 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000848/0.3525, allocations: 303 kB / 0.6164 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000407/0.3529, allocations: 12 kB / 0.6164 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.3541, allocations: 47.8 kB / 0.6164 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.3544, allocations: 60.41 kB / 0.6165 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/0.3545, allocations: 31.97 kB / 0.6165 GB, free: 4.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002791/0.3573, allocations: 1.23 MB / 0.6177 GB, free: 3.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3573, allocations: 4 kB / 0.6177 GB, free: 3.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003443/0.3607, allocations: 0.7539 MB / 0.6185 GB, free: 2.734 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.001238/0.362, allocations: 369.6 kB / 0.6188 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004135/0.3661, allocations: 1.835 MB / 0.6206 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.3661, allocations: 4 kB / 0.6206 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.3675, allocations: 0.5799 MB / 0.6212 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/0.3712, allocations: 0.7985 MB / 0.622 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/0.3769, allocations: 2.987 MB / 0.6249 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.3783, allocations: 1.492 MB / 0.6263 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001592/0.3799, allocations: 450.5 kB / 0.6268 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.3802, allocations: 131.4 kB / 0.6269 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.3802, allocations: 0 / 0.6269 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of Templates: time 0.299/0.6792, allocations: 37.8 MB / 0.6638 GB, free: 107.3 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)