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.0008343/0.0008344, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009815/0.0009817, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 9.719 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0009822/0.191, allocations: 238.9 kB / 0.5876 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.1913, allocations: 43.89 kB / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.1913, allocations: 3.938 kB / 0.5876 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.1914, allocations: 0 / 0.5876 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1915, allocations: 7.938 kB / 0.5877 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.1916, allocations: 4 kB / 0.5877 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.1917, allocations: 7.984 kB / 0.5877 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.655e-05/0.1918, allocations: 3.984 kB / 0.5877 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.1919, allocations: 7.938 kB / 0.5877 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.192, allocations: 11.98 kB / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.192, allocations: 0 / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.192, allocations: 0 / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1921, allocations: 8 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.1921, allocations: 29.64 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.928e-05/0.1922, allocations: 7.984 kB / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1922, allocations: 0 / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1922, allocations: 0 / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1922, allocations: 0 / 0.5877 GB, free: 2.617 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.0004927/0.1927, allocations: 323.3 kB / 0.588 GB, free: 2.254 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1928, allocations: 12.03 kB / 0.588 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1928, allocations: 4 kB / 0.5881 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1931, allocations: 175.3 kB / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1931, allocations: 0 / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1931, allocations: 0 / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1932, allocations: 37.62 kB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1932, allocations: 0 / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1932, allocations: 0 / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1933, allocations: 4 kB / 0.5883 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.1933, allocations: 3.938 kB / 0.5883 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.1935, allocations: 161.6 kB / 0.5884 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.1935, allocations: 22.58 kB / 0.5884 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.1936, allocations: 12.91 kB / 0.5885 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1936, allocations: 4 kB / 0.5885 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1936, allocations: 30.56 kB / 0.5885 GB, free: 1.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1936, allocations: 0 / 0.5885 GB, free: 1.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.1938, allocations: 41.62 kB / 0.5885 GB, free: 1.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1939, allocations: 59.53 kB / 0.5886 GB, free: 1.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.194, allocations: 109.8 kB / 0.5887 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.194, allocations: 25.7 kB / 0.5887 GB, free: 1.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.194, allocations: 84.14 kB / 0.5888 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1941, allocations: 11.84 kB / 0.5888 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.1941, allocations: 0 / 0.5888 GB, free: 1.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1942, allocations: 310.8 kB / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.1942, allocations: 7.984 kB / 0.5891 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.1943, allocations: 21.72 kB / 0.5891 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.1943, allocations: 11.94 kB / 0.5891 GB, free: 0.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1943, allocations: 3.938 kB / 0.5891 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.12e-05/0.1944, allocations: 41.64 kB / 0.5892 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1944, allocations: 10.64 kB / 0.5892 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1944, allocations: 0 / 0.5892 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1945, allocations: 3.984 kB / 0.5892 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.1945, allocations: 4 kB / 0.5892 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1946, allocations: 4.125 kB / 0.5892 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.1946, allocations: 4 kB / 0.5892 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1946, allocations: 4 kB / 0.5892 GB, free: 0.8789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1947, allocations: 113.8 kB / 0.5893 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1947, allocations: 7.891 kB / 0.5893 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1948, allocations: 52.75 kB / 0.5894 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1949, allocations: 0 / 0.5894 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1949, allocations: 3.938 kB / 0.5894 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1949, allocations: 4.031 kB / 0.5894 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.195, allocations: 153.7 kB / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.195, allocations: 3.953 kB / 0.5895 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.1951, allocations: 4 kB / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1951, allocations: 0 / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1951, allocations: 0 / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1951, allocations: 3.984 kB / 0.5895 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1951, allocations: 4 kB / 0.5895 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.1953, allocations: 77.06 kB / 0.5896 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1953, allocations: 81.06 kB / 0.5897 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1954, allocations: 3.984 kB / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.1954, allocations: 4.031 kB / 0.5897 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.1954, allocations: 0 / 0.5897 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1954, allocations: 0 / 0.5897 GB, free: 276 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.064e-05/0.1955, allocations: 91.52 kB / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1955, allocations: 0 / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000183/0.1957, allocations: 0 / 0.5898 GB, free: 184 kB / 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 (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 0.0001184/0.1958, allocations: 103.3 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.1959, allocations: 12 kB / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.1959, allocations: 0 / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.1959, allocations: 11.92 kB / 0.5899 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1961, allocations: 4 kB / 0.5899 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.1964, allocations: 121.1 kB / 0.59 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1966, allocations: 0.677 MB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.1967, allocations: 7.938 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.1967, allocations: 7.438 kB / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1967, allocations: 0 / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.002401/0.1991, allocations: 301.9 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB 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)