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.007008/0.007008, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001179/0.001179, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4098/0.4098, allocations: 54.94 MB / 324.8 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.001454/0.001454, allocations: 70.14 kB / 456.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1404, allocations: 59.58 MB / 0.5037 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example2): time 0.02911/0.1696, allocations: 29.5 MB / 0.5325 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01916/0.1888, allocations: 12.01 MB / 0.5443 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.1907, allocations: 47.75 kB / 0.5443 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.1927, allocations: 0.6914 MB / 0.545 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.1966, allocations: 1.414 MB / 0.5464 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.2, allocations: 1.376 MB / 0.5477 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004556/0.2046, allocations: 3.756 MB / 0.5514 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.2062, allocations: 1.313 MB / 0.5526 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.2095, allocations: 1.482 MB / 0.5541 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.2109, allocations: 1.05 MB / 0.5551 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2111, allocations: 128 kB / 0.5552 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.2137, allocations: 1.143 MB / 0.5564 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.2141, allocations: 402.6 kB / 0.5567 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008689/0.215, allocations: 0.8007 MB / 0.5575 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.2179, allocations: 2.454 MB / 0.5599 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2179, allocations: 3.938 kB / 0.5599 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2179, allocations: 0 / 0.5599 GB, free: 1.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.218, allocations: 0 / 0.5599 GB, free: 1.242 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.003035/0.221, allocations: 1.931 MB / 0.5618 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2211, allocations: 12.03 kB / 0.5618 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.2221, allocations: 250.8 kB / 0.5621 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.2244, allocations: 1.323 MB / 0.5634 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.2245, allocations: 69.98 kB / 0.5634 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2246, allocations: 88 kB / 0.5635 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.2276, allocations: 1.207 MB / 0.5647 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2276, allocations: 4 kB / 0.5647 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/0.2277, allocations: 32 kB / 0.5647 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.2277, allocations: 24 kB / 0.5647 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.2303, allocations: 0.913 MB / 0.5656 GB, free: 11.21 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.006207/0.2366, allocations: 5.24 MB / 0.5707 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.239, allocations: 0.728 MB / 0.5715 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.2396, allocations: 309.1 kB / 0.5718 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/0.2416, allocations: 1.321 MB / 0.573 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/0.2436, allocations: 0.5413 MB / 0.5736 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002366/0.2438, allocations: 59.36 kB / 0.5736 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.2439, allocations: 0 / 0.5736 GB, free: 2.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.009888/0.2537, allocations: 2.787 MB / 0.5764 GB, free: 15.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.2538, allocations: 133 kB / 0.5765 GB, free: 15.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.2554, allocations: 1.282 MB / 0.5777 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.2555, allocations: 45.7 kB / 0.5778 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.2561, allocations: 0.6449 MB / 0.5784 GB, free: 13.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.2562, allocations: 161.6 kB / 0.5786 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.2565, allocations: 186.4 kB / 0.5787 GB, free: 13.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2566, allocations: 334 kB / 0.5791 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.2574, allocations: 344.6 kB / 0.5794 GB, free: 12.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.2585, allocations: 0.6988 MB / 0.5801 GB, free: 11.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.2602, allocations: 0.9522 MB / 0.581 GB, free: 10.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2602, allocations: 7.938 kB / 0.581 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004499/0.2647, allocations: 1.42 MB / 0.5824 GB, free: 9.117 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.2647, allocations: 37.64 kB / 0.5824 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2648, allocations: 8.656 kB / 0.5824 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008203/0.2656, allocations: 296.6 kB / 0.5827 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.2662, allocations: 159.7 kB / 0.5829 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009314/0.2755, allocations: 3.868 MB / 0.5866 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.2766, allocations: 56.02 kB / 0.5867 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2768, allocations: 44.09 kB / 0.5867 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/0.2779, allocations: 0.5837 MB / 0.5873 GB, free: 3.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007944/0.2787, allocations: 0.6207 MB / 0.5879 GB, free: 3.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001226/0.2799, allocations: 0.8194 MB / 0.5887 GB, free: 2.199 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.2799, allocations: 0 / 0.5887 GB, free: 2.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002072/0.282, allocations: 1.134 MB / 0.5898 GB, free: 1.035 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.2821, allocations: 41.73 kB / 0.5899 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2821, allocations: 8 kB / 0.5899 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.2823, allocations: 104.8 kB / 0.59 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.2828, allocations: 151.7 kB / 0.5901 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.2851, allocations: 2.364 MB / 0.5924 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.2859, allocations: 43.98 kB / 0.5925 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.286, allocations: 39.98 kB / 0.5925 GB, free: 14.13 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.0002584/0.2862, allocations: 244.3 kB / 0.5927 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.2865, allocations: 126.4 kB / 0.5929 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.2901, allocations: 1.168 MB / 0.594 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2901, allocations: 4 kB / 0.594 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2901, allocations: 0 / 0.594 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003136/0.2933, allocations: 1.164 MB / 0.5951 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/0.2984, allocations: 2.243 MB / 0.5973 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2984, allocations: 0 / 0.5973 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.2988, allocations: 91.88 kB / 0.5974 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007057/0.2995, allocations: 280.6 kB / 0.5977 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.2996, allocations: 27.91 kB / 0.5977 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/0.3077, allocations: 3.684 MB / 0.6013 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3077, allocations: 0 / 0.6013 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.3119, allocations: 1.563 MB / 0.6028 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.3124, allocations: 271.4 kB / 0.6031 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.3126, allocations: 12 kB / 0.6031 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/0.3134, allocations: 47.94 kB / 0.6032 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3136, allocations: 52.36 kB / 0.6032 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.3137, allocations: 23.97 kB / 0.6032 GB, free: 2.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001524/0.3152, allocations: 0.8854 MB / 0.6041 GB, free: 1.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 0.6041 GB, free: 1.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002728/0.3179, allocations: 0.6288 MB / 0.6047 GB, free: 1.258 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.001077/0.319, allocations: 367 kB / 0.6051 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004585/0.3236, allocations: 1.777 MB / 0.6068 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3236, allocations: 7.938 kB / 0.6068 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.3257, allocations: 0.65 MB / 0.6074 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.3282, allocations: 0.6236 MB / 0.608 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.3329, allocations: 2.355 MB / 0.6103 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.3341, allocations: 1.284 MB / 0.6116 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001173/0.3353, allocations: 326.9 kB / 0.6119 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.3356, allocations: 111.4 kB / 0.612 GB, free: 9.645 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3356, allocations: 0 / 0.612 GB, free: 9.645 MB / 494.1 MB Notification: Performance of Templates: time 0.3339/0.6695, allocations: 31.38 MB / 0.6427 GB, free: 122.4 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)