Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006867/0.006867, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.00137/0.00137, allocations: 191.6 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8225/0.8225, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 58.78 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1849, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00198/0.1869, allocations: 0.5132 MB / 0.6602 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000186/0.1871, allocations: 47.86 kB / 0.6602 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1872, allocations: 4 kB / 0.6602 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.1872, allocations: 7.875 kB / 0.6602 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1874, allocations: 0 / 0.6602 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.628e-05/0.1875, allocations: 4 kB / 0.6602 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.1876, allocations: 15.92 kB / 0.6602 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.016e-05/0.1876, allocations: 4 kB / 0.6602 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.1877, allocations: 3.984 kB / 0.6602 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.1878, allocations: 7.984 kB / 0.6602 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1878, allocations: 0 / 0.6602 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.1878, allocations: 0 / 0.6602 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1879, allocations: 11.94 kB / 0.6603 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1879, allocations: 4 kB / 0.6603 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.954e-05/0.188, allocations: 11.92 kB / 0.6603 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.188, allocations: 0 / 0.6603 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.188, allocations: 0 / 0.6603 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.188, allocations: 4 kB / 0.6603 GB, free: 9.633 MB / 0.4981 GB 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.0004484/0.1884, allocations: 323.5 kB / 0.6606 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1885, allocations: 12.02 kB / 0.6606 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.1885, allocations: 8.938 kB / 0.6606 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1887, allocations: 176.3 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.1887, allocations: 384 / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1888, allocations: 384 / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.1889, allocations: 41.56 kB / 0.6608 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1889, allocations: 0 / 0.6608 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1889, allocations: 0 / 0.6608 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1889, allocations: 4 kB / 0.6608 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.1889, allocations: 0 / 0.6608 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.1891, allocations: 153.7 kB / 0.661 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.1891, allocations: 26.56 kB / 0.661 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.1892, allocations: 15.75 kB / 0.661 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1892, allocations: 11.88 kB / 0.661 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1892, allocations: 30.56 kB / 0.661 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1892, allocations: 0 / 0.661 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.1894, allocations: 41.59 kB / 0.6611 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1894, allocations: 55.53 kB / 0.6611 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.1895, allocations: 113.8 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1895, allocations: 25.7 kB / 0.6613 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1896, allocations: 88.12 kB / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1896, allocations: 4 kB / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1896, allocations: 9.719 kB / 0.6614 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.1897, allocations: 318.8 kB / 0.6617 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.1898, allocations: 3.984 kB / 0.6617 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.1898, allocations: 25.66 kB / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.1898, allocations: 21.95 kB / 0.6617 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1898, allocations: 0 / 0.6617 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.495e-05/0.1899, allocations: 57.56 kB / 0.6618 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.19, allocations: 9.875 kB / 0.6618 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.19, allocations: 0 / 0.6618 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.19, allocations: 4.125 kB / 0.6618 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.1901, allocations: 4 kB / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1901, allocations: 0 / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.1901, allocations: 0 / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1901, allocations: 4 kB / 0.6618 GB, free: 7.848 MB / 0.4981 GB 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 6.743e-05/0.1902, allocations: 105.8 kB / 0.6619 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1902, allocations: 15.81 kB / 0.6619 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1903, allocations: 52.75 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1903, allocations: 0 / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1903, allocations: 4.031 kB / 0.662 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1903, allocations: 0 / 0.662 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1905, allocations: 157.7 kB / 0.6621 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1905, allocations: 3.938 kB / 0.6621 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.1905, allocations: 4 kB / 0.6621 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1905, allocations: 0 / 0.6621 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1905, allocations: 3.984 kB / 0.6621 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1906, allocations: 0 / 0.6621 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1906, allocations: 0 / 0.6621 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1907, allocations: 81.06 kB / 0.6622 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1908, allocations: 85.08 kB / 0.6623 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1908, allocations: 3.984 kB / 0.6623 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.1908, allocations: 0 / 0.6623 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.1908, allocations: 0 / 0.6623 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.1908, allocations: 11.88 kB / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.1909, allocations: 87.27 kB / 0.6624 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1909, allocations: 0 / 0.6624 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001844/0.1911, allocations: 8.094 kB / 0.6624 GB, free: 7.129 MB / 0.4981 GB 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 0.000104/0.1912, allocations: 91.25 kB / 0.6625 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.1913, allocations: 15.98 kB / 0.6625 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1913, allocations: 0 / 0.6625 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.1913, allocations: 11.94 kB / 0.6625 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1915, allocations: 7.938 kB / 0.6625 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1918, allocations: 117.6 kB / 0.6626 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.192, allocations: 0.6807 MB / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.192, allocations: 0 / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1921, allocations: 15.42 kB / 0.6633 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1921, allocations: 0 / 0.6633 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.002285/0.1944, allocations: 308 kB / 0.6636 GB, free: 5.832 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)