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.0009968/0.0009969, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00729/0.00729, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.462/1.462, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3845/0.3845, allocations: 55.01 MB / 325.8 MB, free: 0.6133 MB / 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.0005383/0.0005388, allocations: 16 kB / 397.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3051, allocations: 60.72 MB / 458 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.000624/0.3058, allocations: 258.7 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000163/0.306, allocations: 38.58 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.306, allocations: 0 / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.3061, allocations: 0.5 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.3062, allocations: 3.781 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.188e-05/0.3063, allocations: 11.83 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.3063, allocations: 10.31 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3064, allocations: 7.609 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.3064, allocations: 3.094 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.3065, allocations: 3.734 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3065, allocations: 4.594 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.3066, allocations: 3.375 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.3066, allocations: 6.75 kB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.3066, allocations: 33.47 kB / 458.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.709e-05/0.3067, allocations: 9.172 kB / 458.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3067, allocations: 1.031 kB / 458.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3067, allocations: 0.5 kB / 458.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3067, allocations: 4.75 kB / 458.4 MB, free: 38.19 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.0003423/0.3071, allocations: 319.2 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3071, allocations: 7.781 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.3072, allocations: 4.312 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3073, allocations: 174.8 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3073, allocations: 4.156 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3074, allocations: 1.375 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.313e-05/0.3075, allocations: 41.16 kB / 458.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3075, allocations: 1.078 kB / 458.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3075, allocations: 5.312 kB / 458.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3075, allocations: 4 kB / 458.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.3075, allocations: 2.531 kB / 458.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3076, allocations: 153.8 kB / 459.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.503e-05/0.3077, allocations: 21.86 kB / 459.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.3077, allocations: 9.047 kB / 459.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3077, allocations: 5.719 kB / 459.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3078, allocations: 34.19 kB / 459.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3078, allocations: 3.469 kB / 459.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000133/0.3079, allocations: 46.02 kB / 459.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.3079, allocations: 54.97 kB / 459.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.308, allocations: 111.5 kB / 459.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.308, allocations: 25.7 kB / 459.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.3081, allocations: 86.17 kB / 459.5 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3081, allocations: 9.156 kB / 459.5 MB, free: 37.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.3081, allocations: 9.719 kB / 459.5 MB, free: 37.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.3082, allocations: 314 kB / 459.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.3082, allocations: 7.156 kB / 459.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.3082, allocations: 22.09 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.3082, allocations: 19.17 kB / 459.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3083, allocations: 4.25 kB / 459.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.871e-05/0.3083, allocations: 47.58 kB / 459.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3083, allocations: 6.094 kB / 459.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3084, allocations: 4.438 kB / 459.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3084, allocations: 2.969 kB / 459.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.3084, allocations: 4.344 kB / 459.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3084, allocations: 0.6875 kB / 459.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.3085, allocations: 3.469 kB / 459.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3085, allocations: 4.031 kB / 459.9 MB, free: 36.62 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 4.983e-05/0.3085, allocations: 106.5 kB / 460 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.3086, allocations: 3.219 kB / 460 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.3086, allocations: 57.75 kB / 460.1 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3087, allocations: 7.125 kB / 460.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3087, allocations: 1.5 kB / 460.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3087, allocations: 2.938 kB / 460.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.37e-05/0.3088, allocations: 155.8 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3088, allocations: 0 / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.3088, allocations: 5.844 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3088, allocations: 0 / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3088, allocations: 3.938 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3088, allocations: 2.438 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3089, allocations: 0 / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.309, allocations: 85.2 kB / 460.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.309, allocations: 82.75 kB / 460.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.309, allocations: 4.875 kB / 460.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.309, allocations: 1.875 kB / 460.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3091, allocations: 6.125 kB / 460.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3091, allocations: 3.578 kB / 460.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.3091, allocations: 83.53 kB / 460.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3091, allocations: 0.75 kB / 460.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.3093, allocations: 8.625 kB / 460.5 MB, free: 36.03 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 8.117e-05/0.3094, allocations: 95.91 kB / 460.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.3095, allocations: 13.95 kB / 460.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3095, allocations: 0 / 460.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.3095, allocations: 10.06 kB / 460.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.3097, allocations: 1.312 kB / 460.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.3099, allocations: 119.2 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.31, allocations: 0.6836 MB / 461.4 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.558e-05/0.31, allocations: 2.906 kB / 461.4 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.3101, allocations: 7.438 kB / 461.4 MB, free: 35.12 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3101, allocations: 0 / 461.4 MB, free: 35.12 MB / 382.1 MB Notification: Performance of Templates: time 0.001912/0.312, allocations: 304.3 kB / 461.7 MB, free: 35.11 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: