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.001092/0.001092, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009221/0.009221, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9512/0.9512, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003876, allocations: 8.812 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0006231/0.1853, allocations: 246.9 kB / 0.5882 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.1854, allocations: 39.86 kB / 0.5882 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.1855, allocations: 0 / 0.5882 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.1855, allocations: 0 / 0.5882 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1856, allocations: 7.938 kB / 0.5882 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.973e-05/0.1857, allocations: 4 kB / 0.5883 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.577e-05/0.1858, allocations: 11.98 kB / 0.5883 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.1858, allocations: 0 / 0.5883 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.1859, allocations: 11.92 kB / 0.5883 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.1859, allocations: 11.98 kB / 0.5883 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.186, allocations: 0 / 0.5883 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.186, allocations: 0 / 0.5883 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.186, allocations: 4 kB / 0.5883 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.1861, allocations: 29.64 kB / 0.5883 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.621e-05/0.1861, allocations: 11.92 kB / 0.5883 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1861, allocations: 0 / 0.5883 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1861, allocations: 7.938 kB / 0.5883 GB, free: 2.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1861, allocations: 0 / 0.5883 GB, free: 2.23 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.0003752/0.1865, allocations: 331.5 kB / 0.5887 GB, free: 1.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1866, allocations: 12.03 kB / 0.5887 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1866, allocations: 0.9375 kB / 0.5887 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1867, allocations: 168.7 kB / 0.5888 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1868, allocations: 384 / 0.5888 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1868, allocations: 4.375 kB / 0.5888 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.265e-05/0.1869, allocations: 37.81 kB / 0.5889 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1869, allocations: 4 kB / 0.5889 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1869, allocations: 4 kB / 0.5889 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1869, allocations: 0 / 0.5889 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.1869, allocations: 3.938 kB / 0.5889 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1871, allocations: 157.6 kB / 0.589 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.1871, allocations: 18.61 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.1872, allocations: 12.92 kB / 0.5891 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1872, allocations: 7.984 kB / 0.5891 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.1872, allocations: 34.5 kB / 0.5891 GB, free: 1.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1872, allocations: 0 / 0.5891 GB, free: 1.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.1873, allocations: 49.53 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1874, allocations: 51.41 kB / 0.5892 GB, free: 1.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.1875, allocations: 109.8 kB / 0.5893 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1875, allocations: 25.7 kB / 0.5893 GB, free: 1.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.1875, allocations: 84.27 kB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1876, allocations: 7.938 kB / 0.5894 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.1876, allocations: 9.719 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.1877, allocations: 318.8 kB / 0.5897 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.1877, allocations: 4 kB / 0.5897 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.1877, allocations: 13.72 kB / 0.5897 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.1878, allocations: 33.7 kB / 0.5898 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1878, allocations: 0 / 0.5898 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.719e-05/0.1879, allocations: 49.53 kB / 0.5898 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1879, allocations: 4 kB / 0.5898 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1879, allocations: 0 / 0.5898 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1879, allocations: 4 kB / 0.5898 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.188, allocations: 7.938 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.188, allocations: 0 / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.188, allocations: 3.938 kB / 0.5898 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.188, allocations: 3.984 kB / 0.5898 GB, free: 464 kB / 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 6.268e-05/0.1881, allocations: 117.9 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1881, allocations: 3.938 kB / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.1882, allocations: 48.81 kB / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1882, allocations: 0 / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1882, allocations: 0 / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1882, allocations: 0 / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.521e-05/0.1883, allocations: 149.7 kB / 0.5902 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1883, allocations: 4 kB / 0.5902 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.1884, allocations: 11.95 kB / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1884, allocations: 0 / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1884, allocations: 4 kB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1884, allocations: 0 / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1884, allocations: 3.938 kB / 0.5902 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1886, allocations: 85.09 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1886, allocations: 88.98 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1887, allocations: 3.938 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.1887, allocations: 4.094 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.1887, allocations: 0 / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1887, allocations: 0 / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.1888, allocations: 95.52 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1888, allocations: 0 / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001775/0.1889, allocations: 4 kB / 0.5904 GB, free: 15.74 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.0001035/0.1891, allocations: 91.25 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.1891, allocations: 27.92 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1891, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.1892, allocations: 4 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.1893, allocations: 7.594 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.1896, allocations: 124.9 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1898, allocations: 0.677 MB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.1898, allocations: 0 / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.1898, allocations: 15.62 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1898, allocations: 0 / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.002045/0.1919, allocations: 290.7 kB / 0.5916 GB, free: 14.45 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)