Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005778/0.005778, allocations: 170 kB / 16.26 MB, free: 6.613 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.99/0.99, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 13.44 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1916, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.0006199/0.1923, allocations: 242.8 kB / 0.5882 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001084/0.1924, allocations: 15.97 kB / 0.5882 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1925, allocations: 0 / 0.5882 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.1925, allocations: 4 kB / 0.5882 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1926, allocations: 7.984 kB / 0.5882 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.1926, allocations: 0 / 0.5882 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.216e-05/0.1927, allocations: 7.938 kB / 0.5882 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1927, allocations: 0 / 0.5882 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.1927, allocations: 0 / 0.5882 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.1928, allocations: 7.938 kB / 0.5882 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1928, allocations: 0 / 0.5882 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.1928, allocations: 0 / 0.5882 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.1928, allocations: 0 / 0.5882 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1929, allocations: 25.7 kB / 0.5883 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.608e-05/0.193, allocations: 7.984 kB / 0.5883 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.193, allocations: 0 / 0.5883 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.193, allocations: 0 / 0.5883 GB, free: 2.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.193, allocations: 0 / 0.5883 GB, free: 2.309 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002857/0.1933, allocations: 315.6 kB / 0.5886 GB, free: 1.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1934, allocations: 8.031 kB / 0.5886 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1934, allocations: 0.9375 kB / 0.5886 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.1935, allocations: 160.4 kB / 0.5887 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.1935, allocations: 4.375 kB / 0.5887 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1935, allocations: 384 / 0.5887 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1936, allocations: 55.47 kB / 0.5888 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.1936, allocations: 0 / 0.5888 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1937, allocations: 4 kB / 0.5888 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1937, allocations: 3.938 kB / 0.5888 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.1937, allocations: 4 kB / 0.5888 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1939, allocations: 154.5 kB / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.1939, allocations: 45.16 kB / 0.589 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.1939, allocations: 13.84 kB / 0.589 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.194, allocations: 0 / 0.589 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.194, allocations: 38.44 kB / 0.589 GB, free: 1.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.194, allocations: 0 / 0.589 GB, free: 1.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001283/0.1941, allocations: 49.69 kB / 0.5891 GB, free: 1.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1942, allocations: 81.05 kB / 0.5892 GB, free: 1.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.966e-05/0.1942, allocations: 89.86 kB / 0.5893 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1943, allocations: 25.7 kB / 0.5893 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.1943, allocations: 84.08 kB / 0.5894 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1943, allocations: 7.906 kB / 0.5894 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.1943, allocations: 13.72 kB / 0.5894 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1945, allocations: 311.1 kB / 0.5897 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.1945, allocations: 4 kB / 0.5897 GB, free: 0.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.1945, allocations: 21.7 kB / 0.5897 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.1946, allocations: 17.72 kB / 0.5897 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1946, allocations: 0 / 0.5897 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.85e-05/0.1947, allocations: 37.64 kB / 0.5898 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1947, allocations: 16.06 kB / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1947, allocations: 3.984 kB / 0.5898 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1948, allocations: 3.984 kB / 0.5898 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.1948, allocations: 4 kB / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1949, allocations: 0 / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.1949, allocations: 4.281 kB / 0.5898 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1949, allocations: 4 kB / 0.5898 GB, free: 0.4961 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 0.0001515/0.1951, allocations: 113.7 kB / 0.5899 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.1951, allocations: 3.938 kB / 0.5899 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.1952, allocations: 52.72 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1952, allocations: 7.938 kB / 0.59 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1952, allocations: 0 / 0.59 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1953, allocations: 0 / 0.59 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1955, allocations: 149.7 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1955, allocations: 4 kB / 0.5901 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.1955, allocations: 3.938 kB / 0.5901 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1955, allocations: 7.938 kB / 0.5901 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.1955, allocations: 64 / 0.5901 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1956, allocations: 4 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1956, allocations: 0 / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.773e-05/0.1957, allocations: 74.03 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.1957, allocations: 81.05 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1957, allocations: 0 / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.1958, allocations: 0 / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.1958, allocations: 15.91 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1958, allocations: 0 / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.1958, allocations: 75.28 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1958, allocations: 0 / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001764/0.196, allocations: 0 / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002302/0.1962, allocations: 95.25 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.157e-05/0.1963, allocations: 8 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1963, allocations: 8.125 kB / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.1963, allocations: 7.938 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1965, allocations: 7.875 kB / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.1967, allocations: 91.61 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.197, allocations: 0.6692 MB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.1971, allocations: 4 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.1971, allocations: 11.56 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1971, allocations: 0 / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.001929/0.199, allocations: 184.7 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)