Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00142/0.00142, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00142/0.00142, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.075/1.075, allocations: 135.2 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002369, allocations: 67.8 kB / 0.5049 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.189, allocations: 80.93 MB / 0.5839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001932/0.191, allocations: 0.5761 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001865/0.1912, allocations: 35.83 kB / 0.5845 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.1913, allocations: 0 / 0.5845 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.1913, allocations: 4 kB / 0.5845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1915, allocations: 11.97 kB / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.377e-05/0.1915, allocations: 0 / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.1916, allocations: 12 kB / 0.5846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.1917, allocations: 0 / 0.5846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.1917, allocations: 3.938 kB / 0.5846 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.1918, allocations: 15.92 kB / 0.5846 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1918, allocations: 4 kB / 0.5846 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.1918, allocations: 0 / 0.5846 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.1919, allocations: 3.938 kB / 0.5846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.1919, allocations: 15.91 kB / 0.5846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.704e-05/0.192, allocations: 7.938 kB / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.192, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.192, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.192, allocations: 4 kB / 0.5846 GB, free: 4.184 MB / 494.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.000471/0.1925, allocations: 331.5 kB / 0.5849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1925, allocations: 12.03 kB / 0.5849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1926, allocations: 0.9375 kB / 0.5849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1928, allocations: 172.6 kB / 0.5851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1928, allocations: 4.375 kB / 0.5851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1928, allocations: 4.375 kB / 0.5851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.087e-05/0.1929, allocations: 29.83 kB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1929, allocations: 8 kB / 0.5851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.193, allocations: 0 / 0.5851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.193, allocations: 0 / 0.5851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.193, allocations: 7.922 kB / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.1932, allocations: 153.7 kB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.1933, allocations: 18.61 kB / 0.5853 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.1933, allocations: 8.922 kB / 0.5853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.1933, allocations: 3.984 kB / 0.5853 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1933, allocations: 38.5 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1933, allocations: 0 / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.00015/0.1935, allocations: 53.61 kB / 0.5854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1936, allocations: 51.41 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1937, allocations: 105.8 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1937, allocations: 25.7 kB / 0.5856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.1938, allocations: 84.14 kB / 0.5857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1938, allocations: 8.062 kB / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1938, allocations: 17.72 kB / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.194, allocations: 310.8 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.194, allocations: 7.984 kB / 0.586 GB, free: 2.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.1941, allocations: 13.72 kB / 0.586 GB, free: 2.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.1941, allocations: 33.7 kB / 0.586 GB, free: 2.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1941, allocations: 0 / 0.586 GB, free: 2.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.748e-05/0.1942, allocations: 57.53 kB / 0.5861 GB, free: 2.422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1942, allocations: 6.344 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1943, allocations: 3.938 kB / 0.5861 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1943, allocations: 3.938 kB / 0.5861 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.1943, allocations: 4 kB / 0.5861 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1944, allocations: 256 / 0.5861 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.1944, allocations: 4 kB / 0.5861 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1944, allocations: 7.938 kB / 0.5861 GB, free: 2.395 MB / 494.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 9.131e-05/0.1945, allocations: 113.9 kB / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.1945, allocations: 7.938 kB / 0.5862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/0.1946, allocations: 44.81 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1946, allocations: 0 / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1946, allocations: 4 kB / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1947, allocations: 0 / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1948, allocations: 153.7 kB / 0.5864 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1948, allocations: 0 / 0.5864 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.1949, allocations: 19.89 kB / 0.5865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1949, allocations: 0 / 0.5865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1949, allocations: 0 / 0.5865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1949, allocations: 0 / 0.5865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1949, allocations: 0 / 0.5865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.195, allocations: 77.03 kB / 0.5865 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1951, allocations: 85.03 kB / 0.5866 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1951, allocations: 0 / 0.5866 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.1952, allocations: 4.094 kB / 0.5866 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1952, allocations: 4.031 kB / 0.5866 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1952, allocations: 4 kB / 0.5866 GB, free: 1.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.951e-05/0.1952, allocations: 87.27 kB / 0.5867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1953, allocations: 0 / 0.5867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.1954, allocations: 0 / 0.5867 GB, free: 1.699 MB / 494.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 0.0001197/0.1956, allocations: 103.2 kB / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.881e-05/0.1957, allocations: 15.98 kB / 0.5868 GB, free: 1.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1957, allocations: 0 / 0.5868 GB, free: 1.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.1957, allocations: 8 kB / 0.5868 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.1958, allocations: 2.812 kB / 0.5868 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.1962, allocations: 125.4 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1966, allocations: 0.6845 MB / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.1966, allocations: 7.922 kB / 0.5876 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.1966, allocations: 15.62 kB / 0.5876 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1966, allocations: 0 / 0.5876 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of Templates: time 0.003074/0.1997, allocations: 317.9 kB / 0.5879 GB, free: 384 kB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)