Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3865/0.3865, allocations: 54.95 MB / 324.7 MB, free: 15.97 MB / 270.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.001442/0.001442, allocations: 67.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 59.6 MB / 454.9 MB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.1796/0.2991, allocations: 0.5023 MB / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.2993, allocations: 15 kB / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.2993, allocations: 3.562 kB / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.2993, allocations: 0 / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2995, allocations: 3 kB / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.2995, allocations: 0 / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.333e-05/0.2995, allocations: 5.328 kB / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.2996, allocations: 0.9844 kB / 455.4 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.2996, allocations: 2.188 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.073e-05/0.2997, allocations: 5.938 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.2997, allocations: 2.969 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.2997, allocations: 0 / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2997, allocations: 2.219 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.2997, allocations: 2.219 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.545e-05/0.2998, allocations: 4.516 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2998, allocations: 3.25 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2998, allocations: 0 / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2998, allocations: 2.406 kB / 455.5 MB, free: 39.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001699/0.3, allocations: 314.4 kB / 455.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.3, allocations: 12.69 kB / 455.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.3, allocations: 0.9375 kB / 455.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.551e-05/0.3001, allocations: 163.7 kB / 456 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3001, allocations: 384 / 456 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.3001, allocations: 384 / 456 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.3002, allocations: 50.7 kB / 456 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3002, allocations: 0.8438 kB / 456 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3002, allocations: 5.719 kB / 456 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3002, allocations: 0.9062 kB / 456 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.3003, allocations: 9.625 kB / 456 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.421e-05/0.3004, allocations: 149.3 kB / 456.2 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.3004, allocations: 40.36 kB / 456.2 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.3004, allocations: 13.5 kB / 456.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3004, allocations: 1.016 kB / 456.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.3005, allocations: 40.48 kB / 456.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3005, allocations: 0 / 456.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.3006, allocations: 45.88 kB / 456.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.3006, allocations: 81.8 kB / 456.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.634e-05/0.3007, allocations: 90.42 kB / 456.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.3007, allocations: 26.7 kB / 456.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-06/0.3007, allocations: 83.91 kB / 456.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3007, allocations: 11.66 kB / 456.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.3007, allocations: 13.09 kB / 456.6 MB, free: 38.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.3008, allocations: 315.1 kB / 456.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.3008, allocations: 3.25 kB / 456.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.3008, allocations: 20.12 kB / 456.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.3009, allocations: 16.28 kB / 457 MB, free: 37.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3009, allocations: 0 / 457 MB, free: 37.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.259e-05/0.3009, allocations: 46.52 kB / 457 MB, free: 37.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.301, allocations: 7.375 kB / 457 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.301, allocations: 1.406 kB / 457 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.301, allocations: 6.125 kB / 457 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.301, allocations: 6.375 kB / 457 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3011, allocations: 0 / 457 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.3011, allocations: 1.312 kB / 457 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3011, allocations: 2.688 kB / 457 MB, free: 37.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.3011, allocations: 110.2 kB / 457.1 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.3011, allocations: 3.281 kB / 457.1 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.3012, allocations: 53.72 kB / 457.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3012, allocations: 0.5938 kB / 457.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3013, allocations: 0 / 457.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3013, allocations: 7.266 kB / 457.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.867e-05/0.3013, allocations: 147.6 kB / 457.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3013, allocations: 6.812 kB / 457.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.3013, allocations: 0 / 457.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3014, allocations: 3.844 kB / 457.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3014, allocations: 5.906 kB / 457.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3014, allocations: 1.031 kB / 457.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3014, allocations: 6.062 kB / 457.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.831e-05/0.3014, allocations: 70.14 kB / 457.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.3015, allocations: 77.11 kB / 457.5 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3015, allocations: 7.562 kB / 457.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.3015, allocations: 1.406 kB / 457.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3015, allocations: 1.781 kB / 457.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3015, allocations: 5.828 kB / 457.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.218e-05/0.3016, allocations: 76.72 kB / 457.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3016, allocations: 0 / 457.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.3017, allocations: 2.938 kB / 457.6 MB, free: 37.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.849e-05/0.3018, allocations: 101.2 kB / 457.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.3019, allocations: 7.938 kB / 457.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3019, allocations: 0 / 457.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.3019, allocations: 11.84 kB / 457.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3021, allocations: 3.938 kB / 457.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.3022, allocations: 100.5 kB / 457.8 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.706e-05/0.3023, allocations: 0.669 MB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.667e-05/0.3024, allocations: 6.859 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.3024, allocations: 8.75 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3024, allocations: 3.094 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of Templates: time 0.001745/0.3041, allocations: 190.2 kB / 458.7 MB, free: 36.3 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe 2>&1)