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.001033/0.001033, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001208/0.001208, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3844/0.3844, allocations: 54.98 MB / 325.3 MB, free: 0.75 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.0005081/0.0005081, allocations: 15.98 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 60.72 MB / 457.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.0004888/0.278, allocations: 247.2 kB / 457.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.2781, allocations: 34.16 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.2782, allocations: 3.031 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2782, allocations: 0.8438 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.2783, allocations: 3.531 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.19e-05/0.2783, allocations: 15.08 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.494e-05/0.2784, allocations: 3.812 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.2784, allocations: 5.578 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.2785, allocations: 5.375 kB / 457.6 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.2785, allocations: 13.05 kB / 457.6 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2786, allocations: 0 / 457.6 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.2786, allocations: 0 / 457.6 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.2786, allocations: 3.562 kB / 457.6 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.2786, allocations: 26.27 kB / 457.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.012e-05/0.2787, allocations: 11.88 kB / 457.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.2787, allocations: 2.812 kB / 457.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2787, allocations: 0 / 457.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.2787, allocations: 0 / 457.7 MB, free: 38.1 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.0002723/0.279, allocations: 323.5 kB / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.279, allocations: 10.81 kB / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.279, allocations: 5.094 kB / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2792, allocations: 177.2 kB / 458.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.2792, allocations: 1.969 kB / 458.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2792, allocations: 2.625 kB / 458.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.746e-05/0.2793, allocations: 32.06 kB / 458.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2793, allocations: 1.062 kB / 458.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.2793, allocations: 1.312 kB / 458.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2793, allocations: 1.969 kB / 458.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.44e-05/0.2793, allocations: 2.75 kB / 458.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.2794, allocations: 160.8 kB / 458.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.2795, allocations: 24.92 kB / 458.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.2795, allocations: 0 / 458.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.2795, allocations: 33.38 kB / 458.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.2795, allocations: 0 / 458.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.2796, allocations: 43.89 kB / 458.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.2796, allocations: 55.75 kB / 458.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.2797, allocations: 110.6 kB / 458.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.2797, allocations: 25.7 kB / 458.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.2797, allocations: 81.23 kB / 458.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2798, allocations: 12.64 kB / 458.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-06/0.2798, allocations: 5.375 kB / 458.8 MB, free: 36.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.2798, allocations: 316.4 kB / 459.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.2798, allocations: 2.781 kB / 459.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.2799, allocations: 19.95 kB / 459.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.802e-05/0.2799, allocations: 9.406 kB / 459.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2799, allocations: 1.375 kB / 459.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.61e-05/0.28, allocations: 47.42 kB / 459.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.28, allocations: 7.312 kB / 459.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.28, allocations: 1.094 kB / 459.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.28, allocations: 0 / 459.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.2801, allocations: 8.859 kB / 459.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.2801, allocations: 0 / 459.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.2801, allocations: 4.438 kB / 459.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2801, allocations: 0 / 459.2 MB, free: 36.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.2802, allocations: 113.5 kB / 459.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.2802, allocations: 1.406 kB / 459.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.2803, allocations: 55.84 kB / 459.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2803, allocations: 0 / 459.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2803, allocations: 2.094 kB / 459.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2803, allocations: 0.75 kB / 459.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.889e-05/0.2804, allocations: 162.5 kB / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2804, allocations: 4.312 kB / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.2804, allocations: 3.656 kB / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2804, allocations: 4.312 kB / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.2804, allocations: 0.6875 kB / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2805, allocations: 0 / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2805, allocations: 4.734 kB / 459.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.499e-05/0.2806, allocations: 90.02 kB / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.2806, allocations: 79.55 kB / 459.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2806, allocations: 1.297 kB / 459.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.2806, allocations: 0.625 kB / 459.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.2807, allocations: 4.094 kB / 459.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2807, allocations: 0 / 459.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.2807, allocations: 91.3 kB / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2807, allocations: 0 / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001784/0.2809, allocations: 0.9062 kB / 459.8 MB, free: 36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.324e-05/0.281, allocations: 94.91 kB / 459.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.719e-05/0.281, allocations: 15.2 kB / 459.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.281, allocations: 1.031 kB / 459.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.2811, allocations: 18.92 kB / 459.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.526e-05/0.2812, allocations: 3.953 kB / 459.9 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.2814, allocations: 117.1 kB / 460 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.2815, allocations: 0.6824 MB / 460.7 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.2815, allocations: 2.875 kB / 460.7 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.2815, allocations: 8.594 kB / 460.7 MB, free: 35.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2815, allocations: 0 / 460.7 MB, free: 35.09 MB / 382.1 MB Notification: Performance of Templates: time 0.001829/0.2833, allocations: 287.4 kB / 461 MB, free: 35.08 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: