Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00708/0.00708, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001699/0.001699, allocations: 190.8 kB / 16.79 MB, free: 5.816 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9287/0.9287, allocations: 135.1 MB / 425.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001188, allocations: 59.55 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1791, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002373/0.1815, allocations: 1.325 MB / 0.5856 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.1851, allocations: 3.231 MB / 0.5888 GB, free: 424 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.1851, allocations: 3.938 kB / 0.5888 GB, free: 420 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.1852, allocations: 3.938 kB / 0.5888 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.1852, allocations: 8 kB / 0.5888 GB, free: 408 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1857, allocations: 99.61 kB / 0.5889 GB, free: 308 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.1858, allocations: 27.92 kB / 0.5889 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1858, allocations: 3.984 kB / 0.5889 GB, free: 276 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.1859, allocations: 23.92 kB / 0.5889 GB, free: 252 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.1859, allocations: 11.92 kB / 0.589 GB, free: 240 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1859, allocations: 4 kB / 0.589 GB, free: 236 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.1862, allocations: 79.8 kB / 0.589 GB, free: 156 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.1862, allocations: 11.98 kB / 0.5891 GB, free: 144 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.1862, allocations: 11.92 kB / 0.5891 GB, free: 132 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1863, allocations: 48.22 kB / 0.5891 GB, free: 84 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1864, allocations: 3.938 kB / 0.5891 GB, free: 80 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1864, allocations: 0 / 0.5891 GB, free: 80 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1864, allocations: 0 / 0.5891 GB, free: 80 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004127/0.1868, allocations: 347.5 kB / 0.5894 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1868, allocations: 12.03 kB / 0.5895 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.1869, allocations: 12.92 kB / 0.5895 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.187, allocations: 168.3 kB / 0.5896 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1871, allocations: 384 / 0.5896 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1871, allocations: 8.375 kB / 0.5896 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1872, allocations: 53.8 kB / 0.5897 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1872, allocations: 0 / 0.5897 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1873, allocations: 8 kB / 0.5897 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1873, allocations: 0 / 0.5897 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.1873, allocations: 15.98 kB / 0.5897 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1875, allocations: 173.6 kB / 0.5899 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.1876, allocations: 54.56 kB / 0.5899 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.1876, allocations: 17.02 kB / 0.5899 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.1883, allocations: 0.5907 MB / 0.5905 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1883, allocations: 38.56 kB / 0.5906 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1884, allocations: 0 / 0.5906 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005886/0.1889, allocations: 302.1 kB / 0.5908 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.189, allocations: 55.34 kB / 0.5909 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.1891, allocations: 101.8 kB / 0.591 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1891, allocations: 29.7 kB / 0.591 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.1892, allocations: 84.2 kB / 0.5911 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1892, allocations: 35.55 kB / 0.5911 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1892, allocations: 29.66 kB / 0.5912 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1894, allocations: 314.8 kB / 0.5915 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.1894, allocations: 19.92 kB / 0.5915 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.1895, allocations: 53.14 kB / 0.5915 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.1896, allocations: 73.09 kB / 0.5916 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1896, allocations: 0 / 0.5916 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001344/0.1897, allocations: 93.45 kB / 0.5917 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1897, allocations: 4 kB / 0.5917 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1898, allocations: 8.125 kB / 0.5917 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1898, allocations: 3.984 kB / 0.5917 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.1899, allocations: 19.94 kB / 0.5917 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1899, allocations: 4 kB / 0.5917 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1899, allocations: 7.938 kB / 0.5917 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1899, allocations: 4 kB / 0.5917 GB, free: 12.97 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.773e-05/0.19, allocations: 117.8 kB / 0.5919 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.1901, allocations: 7.984 kB / 0.5919 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1901, allocations: 11.97 kB / 0.5919 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1901, allocations: 0 / 0.5919 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1901, allocations: 0 / 0.5919 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1901, allocations: 7.938 kB / 0.5919 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.1903, allocations: 165.7 kB / 0.592 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1904, allocations: 4 kB / 0.592 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.1904, allocations: 16 kB / 0.5921 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1905, allocations: 3.984 kB / 0.5921 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1905, allocations: 0 / 0.5921 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1905, allocations: 448 / 0.5921 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1905, allocations: 0 / 0.5921 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1907, allocations: 183.6 kB / 0.5922 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1907, allocations: 81.23 kB / 0.5923 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1908, allocations: 15.92 kB / 0.5923 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1909, allocations: 4 kB / 0.5923 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.1909, allocations: 7.984 kB / 0.5923 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1909, allocations: 3.938 kB / 0.5923 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.191, allocations: 79.28 kB / 0.5924 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.191, allocations: 4 kB / 0.5924 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.1912, allocations: 16 kB / 0.5924 GB, free: 12.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001422/0.1914, allocations: 95.25 kB / 0.5925 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1915, allocations: 48.06 kB / 0.5926 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1915, allocations: 0 / 0.5926 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.1915, allocations: 19.92 kB / 0.5926 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1919, allocations: 14.22 kB / 0.5926 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.1925, allocations: 353.8 kB / 0.593 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1927, allocations: 0.6809 MB / 0.5936 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1928, allocations: 11.44 kB / 0.5936 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1928, allocations: 0 / 0.5936 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.001975/0.1947, allocations: 0.7771 MB / 0.5944 GB, free: 10.1 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)