Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008969/0.008969, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001536/0.001536, allocations: 190.6 kB / 16.67 MB, free: 5.949 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.411/0.411, allocations: 54.95 MB / 324.9 MB, free: 36 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.001731/0.001731, allocations: 71.83 kB / 456.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 59.59 MB / 0.5038 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example2): time 0.02901/0.1771, allocations: 29.5 MB / 0.5326 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01966/0.1968, allocations: 12.01 MB / 0.5443 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.1988, allocations: 47.75 kB / 0.5444 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.201, allocations: 0.6953 MB / 0.5451 GB, free: 488 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.2058, allocations: 1.413 MB / 0.5464 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.2097, allocations: 1.377 MB / 0.5478 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005602/0.2153, allocations: 3.759 MB / 0.5515 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.2171, allocations: 1.313 MB / 0.5527 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.2205, allocations: 1.451 MB / 0.5542 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.2219, allocations: 1.05 MB / 0.5552 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.2221, allocations: 120 kB / 0.5553 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.2248, allocations: 1.151 MB / 0.5564 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.2252, allocations: 406.6 kB / 0.5568 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008886/0.2261, allocations: 0.7968 MB / 0.5576 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003713/0.2298, allocations: 2.458 MB / 0.56 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2298, allocations: 4 kB / 0.56 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2298, allocations: 0 / 0.56 GB, free: 1.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.2299, allocations: 0 / 0.56 GB, free: 1.125 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003333/0.2332, allocations: 1.924 MB / 0.5619 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2333, allocations: 8.031 kB / 0.5619 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.2344, allocations: 262.8 kB / 0.5621 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.2368, allocations: 1.323 MB / 0.5634 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.2368, allocations: 70 kB / 0.5635 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.237, allocations: 91.98 kB / 0.5636 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.2399, allocations: 1.203 MB / 0.5647 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.2399, allocations: 0 / 0.5647 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.24, allocations: 40 kB / 0.5648 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.2401, allocations: 23.94 kB / 0.5648 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.2427, allocations: 0.9053 MB / 0.5657 GB, free: 11.1 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.006255/0.249, allocations: 5.232 MB / 0.5708 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.2514, allocations: 0.7398 MB / 0.5715 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.252, allocations: 313.1 kB / 0.5718 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/0.2542, allocations: 1.321 MB / 0.5731 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.2561, allocations: 0.5452 MB / 0.5736 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000383/0.2565, allocations: 59.36 kB / 0.5737 GB, free: 2.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 4.148e-06/0.2565, allocations: 0 / 0.5737 GB, free: 2.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.01046/0.267, allocations: 2.783 MB / 0.5764 GB, free: 15.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.2671, allocations: 140.9 kB / 0.5765 GB, free: 15.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.2691, allocations: 1.274 MB / 0.5778 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.2692, allocations: 45.69 kB / 0.5778 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/0.2698, allocations: 0.6449 MB / 0.5785 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.27, allocations: 169.6 kB / 0.5786 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.2703, allocations: 186.4 kB / 0.5788 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2704, allocations: 330 kB / 0.5791 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/0.2713, allocations: 348.6 kB / 0.5795 GB, free: 12.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2724, allocations: 0.691 MB / 0.5801 GB, free: 11.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.2744, allocations: 0.9562 MB / 0.5811 GB, free: 10.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.2744, allocations: 3.984 kB / 0.5811 GB, free: 10.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004888/0.2793, allocations: 1.42 MB / 0.5824 GB, free: 8.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.2794, allocations: 43.88 kB / 0.5825 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.2794, allocations: 8 kB / 0.5825 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/0.2803, allocations: 301.2 kB / 0.5828 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.281, allocations: 155.7 kB / 0.5829 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/0.2905, allocations: 3.869 MB / 0.5867 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.292, allocations: 55.95 kB / 0.5868 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.2922, allocations: 43.98 kB / 0.5868 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/0.2934, allocations: 0.5838 MB / 0.5874 GB, free: 3.801 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008358/0.2943, allocations: 0.6091 MB / 0.588 GB, free: 3.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/0.2957, allocations: 0.8194 MB / 0.5888 GB, free: 2.082 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.663e-06/0.2957, allocations: 8 kB / 0.5888 GB, free: 2.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002413/0.2981, allocations: 1.134 MB / 0.5899 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.2982, allocations: 33.77 kB / 0.5899 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.2982, allocations: 16 kB / 0.5899 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.2985, allocations: 104.7 kB / 0.59 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.299, allocations: 155.7 kB / 0.5902 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.3013, allocations: 2.36 MB / 0.5925 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.3023, allocations: 43.98 kB / 0.5925 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.3024, allocations: 39.97 kB / 0.5926 GB, free: 14 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.3028, allocations: 247.8 kB / 0.5928 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/0.3033, allocations: 126.4 kB / 0.5929 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.3072, allocations: 1.157 MB / 0.5941 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.3072, allocations: 11.94 kB / 0.5941 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3072, allocations: 0 / 0.5941 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00316/0.3104, allocations: 1.156 MB / 0.5952 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/0.3161, allocations: 2.254 MB / 0.5974 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3161, allocations: 0 / 0.5974 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.3166, allocations: 87.88 kB / 0.5975 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007627/0.3174, allocations: 280.7 kB / 0.5977 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.3174, allocations: 23.91 kB / 0.5978 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008448/0.3259, allocations: 3.684 MB / 0.6014 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3259, allocations: 0 / 0.6014 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004568/0.3305, allocations: 1.571 MB / 0.6029 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/0.3313, allocations: 267.4 kB / 0.6032 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.3316, allocations: 16 kB / 0.6032 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.3326, allocations: 39.95 kB / 0.6032 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.3328, allocations: 56.34 kB / 0.6033 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.3328, allocations: 27.97 kB / 0.6033 GB, free: 2.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001519/0.3344, allocations: 0.8815 MB / 0.6042 GB, free: 1.762 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3344, allocations: 4 kB / 0.6042 GB, free: 1.758 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002713/0.3371, allocations: 0.6249 MB / 0.6048 GB, free: 1.133 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (pump_dp.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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.3382, allocations: 373.2 kB / 0.6051 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.3429, allocations: 1.769 MB / 0.6069 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3429, allocations: 0 / 0.6069 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.3451, allocations: 0.6614 MB / 0.6075 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.3481, allocations: 0.6214 MB / 0.6081 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.3533, allocations: 2.352 MB / 0.6104 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.3547, allocations: 1.284 MB / 0.6117 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001552/0.3562, allocations: 319 kB / 0.612 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.3567, allocations: 115.3 kB / 0.6121 GB, free: 9.523 MB / 494.1 MB Notification: Performance of SimCode: time 2.285e-06/0.3567, allocations: 0 / 0.6121 GB, free: 9.523 MB / 494.1 MB Notification: Performance of Templates: time 0.3502/0.7069, allocations: 30.84 MB / 0.6422 GB, free: 122.3 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe 2>&1)