Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") translateModel(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 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.001704/0.001705, allocations: 191.9 kB / 16.53 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.48/1.48, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4273/0.4273, allocations: 54.94 MB / 324.7 MB, free: 16 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.002892/0.002892, allocations: 67.89 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1196, allocations: 59.6 MB / 454.9 MB, free: 192 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.1838/0.3034, allocations: 0.5137 MB / 455.4 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.3036, allocations: 33.66 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.3036, allocations: 3.969 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.3037, allocations: 0.75 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3038, allocations: 5.422 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.527e-05/0.3039, allocations: 12.84 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.304, allocations: 7.172 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.304, allocations: 2.953 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.3041, allocations: 6.609 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.3041, allocations: 7.797 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3042, allocations: 4.766 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.3042, allocations: 0 / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.3042, allocations: 8.062 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.3043, allocations: 6.391 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.674e-05/0.3043, allocations: 8.156 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3043, allocations: 3.875 kB / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3043, allocations: 0 / 455.5 MB, free: 39.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3043, allocations: 0 / 455.5 MB, free: 39.15 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003137/0.3047, allocations: 333.4 kB / 455.9 MB, free: 38.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.3047, allocations: 9.938 kB / 455.9 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.3047, allocations: 0.9375 kB / 455.9 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3048, allocations: 176.3 kB / 456.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3049, allocations: 2.312 kB / 456.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3049, allocations: 3.938 kB / 456.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.098e-05/0.305, allocations: 30.12 kB / 456.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.305, allocations: 0.75 kB / 456.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.305, allocations: 7.719 kB / 456.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.305, allocations: 0 / 456.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.305, allocations: 8.219 kB / 456.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.3051, allocations: 157.4 kB / 456.3 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.136e-05/0.3052, allocations: 18.23 kB / 456.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.3052, allocations: 13.39 kB / 456.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3052, allocations: 1.125 kB / 456.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3052, allocations: 32.03 kB / 456.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3052, allocations: 0 / 456.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000117/0.3053, allocations: 47.12 kB / 456.4 MB, free: 38.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.3054, allocations: 52.53 kB / 456.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.548e-05/0.3054, allocations: 110.5 kB / 456.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.3055, allocations: 29.98 kB / 456.6 MB, free: 38.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.3055, allocations: 83.41 kB / 456.6 MB, free: 38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3055, allocations: 5.625 kB / 456.6 MB, free: 38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.3055, allocations: 13.91 kB / 456.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.3056, allocations: 318.7 kB / 457 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.3056, allocations: 5.281 kB / 457 MB, free: 37.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.3056, allocations: 15.5 kB / 457 MB, free: 37.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.3057, allocations: 25.62 kB / 457 MB, free: 37.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3057, allocations: 0 / 457 MB, free: 37.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.039e-05/0.3057, allocations: 49.47 kB / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3057, allocations: 9.844 kB / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3058, allocations: 4.719 kB / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3058, allocations: 0 / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.3058, allocations: 6.25 kB / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.3058, allocations: 4.172 kB / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.3059, allocations: 0.6875 kB / 457.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3059, allocations: 2.094 kB / 457.1 MB, free: 37.61 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.927e-05/0.3059, allocations: 113 kB / 457.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.3059, allocations: 4.719 kB / 457.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.306, allocations: 53.86 kB / 457.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.306, allocations: 3.344 kB / 457.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.306, allocations: 1.125 kB / 457.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3061, allocations: 4.297 kB / 457.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.09e-05/0.3061, allocations: 157.3 kB / 457.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3061, allocations: 0 / 457.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3062, allocations: 4.094 kB / 457.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3062, allocations: 2.375 kB / 457.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3062, allocations: 6.609 kB / 457.4 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3062, allocations: 3.469 kB / 457.4 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3062, allocations: 1.031 kB / 457.4 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.095e-05/0.3063, allocations: 79.7 kB / 457.5 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3063, allocations: 87.42 kB / 457.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3063, allocations: 3.938 kB / 457.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.3064, allocations: 0.75 kB / 457.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.3064, allocations: 3.312 kB / 457.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3064, allocations: 0 / 457.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.697e-05/0.3064, allocations: 88.23 kB / 457.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3064, allocations: 0.5 kB / 457.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001757/0.3066, allocations: 3.969 kB / 457.7 MB, free: 37.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 7.018e-05/0.3067, allocations: 94.62 kB / 457.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.3068, allocations: 17.69 kB / 457.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3068, allocations: 2.781 kB / 457.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.3068, allocations: 10.22 kB / 457.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3069, allocations: 4.438 kB / 457.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.3072, allocations: 118.2 kB / 457.9 MB, free: 36.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.3073, allocations: 0.6772 MB / 458.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.54e-05/0.3073, allocations: 6.672 kB / 458.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.3073, allocations: 9.281 kB / 458.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3073, allocations: 0 / 458.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of Templates: time 0.002071/0.3094, allocations: 315.2 kB / 458.9 MB, free: 36.12 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe 2>&1)