Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007611/0.0007611, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001804, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007425/0.0007425, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009911/0.001734, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9848/0.9848, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.086, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.0952/0.0952, allocations: 17.36 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01423/0.1094, allocations: 6.944 MB / 268.4 MB, free: 6.387 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 269.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.557e-05, allocations: 6.109 kB / 269.7 MB, free: 5.09 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.02689/0.02692, allocations: 3.654 MB / 273.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1409/0.1678, allocations: 9.224 MB / 282.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.1682, allocations: 13.28 kB / 282.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.1688, allocations: 206 kB / 282.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009456/0.1697, allocations: 377.8 kB / 283.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.1733, allocations: 1.483 MB / 284.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009229/0.1742, allocations: 0.6824 MB / 285.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.1746, allocations: 206.2 kB / 285.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.1753, allocations: 494.5 kB / 286.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.1759, allocations: 293.2 kB / 286.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.176, allocations: 35.41 kB / 286.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.1783, allocations: 0.8077 MB / 287.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1784, allocations: 87.31 kB / 287.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1786, allocations: 138.7 kB / 287.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.1807, allocations: 1.349 MB / 288.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.1807, allocations: 0 / 288.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1807, allocations: 0 / 288.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.1807, allocations: 0 / 288.8 MB, free: 12.38 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001615/0.1823, allocations: 1.056 MB / 289.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1824, allocations: 14.16 kB / 289.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.1832, allocations: 325.2 kB / 290.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.1837, allocations: 364.7 kB / 290.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1838, allocations: 21.38 kB / 290.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.1838, allocations: 29.25 kB / 290.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.1843, allocations: 423.1 kB / 291 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1844, allocations: 5.281 kB / 291 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1844, allocations: 21.61 kB / 291 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1844, allocations: 9.312 kB / 291 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.185, allocations: 475.2 kB / 291.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.1865, allocations: 1.501 MB / 293 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1868, allocations: 162.9 kB / 293.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.1869, allocations: 61.09 kB / 293.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/0.1887, allocations: 1.208 MB / 294.4 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1887, allocations: 32.52 kB / 294.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1887, allocations: 1.156 kB / 294.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002948/0.189, allocations: 173.2 kB / 294.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.189, allocations: 55.59 kB / 294.6 MB, free: 9.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.1893, allocations: 418.3 kB / 295.1 MB, free: 8.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1894, allocations: 29.64 kB / 295.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1895, allocations: 268.8 kB / 295.3 MB, free: 8.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.1895, allocations: 67.42 kB / 295.4 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1896, allocations: 90.11 kB / 295.5 MB, free: 8.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1897, allocations: 358.7 kB / 295.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1898, allocations: 39.81 kB / 295.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.19, allocations: 307 kB / 296.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.1904, allocations: 444.1 kB / 296.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.1904, allocations: 4 kB / 296.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004131/0.1908, allocations: 316.4 kB / 296.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1908, allocations: 12.22 kB / 296.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1909, allocations: 12 kB / 297 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1909, allocations: 15.94 kB / 297 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.1912, allocations: 143.8 kB / 297.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1912, allocations: 18.83 kB / 297.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.1914, allocations: 47.62 kB / 297.2 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.1914, allocations: 35.98 kB / 297.2 MB, free: 6.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001141/0.1915, allocations: 144.5 kB / 297.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1916, allocations: 39.19 kB / 297.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.1921, allocations: 352.2 kB / 297.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1921, allocations: 4 kB / 297.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1921, allocations: 4 kB / 297.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1921, allocations: 0 / 297.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1926, allocations: 0.4996 MB / 298.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1926, allocations: 4 kB / 298.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.1926, allocations: 14.55 kB / 298.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1927, allocations: 38.05 kB / 298.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1927, allocations: 4.188 kB / 298.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1927, allocations: 4 kB / 298.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.1927, allocations: 7.938 kB / 298.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1927, allocations: 3.938 kB / 298.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1928, allocations: 145.1 kB / 298.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.1929, allocations: 15.88 kB / 298.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.1929, allocations: 4 kB / 298.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.193, allocations: 11.88 kB / 298.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.193, allocations: 4 kB / 298.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.1931, allocations: 200.4 kB / 298.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1931, allocations: 4 kB / 298.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007454/0.1939, allocations: 259 kB / 299 MB, free: 4.656 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006005/0.1945, allocations: 411.8 kB / 299.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1947, allocations: 172.8 kB / 299.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/0.1947, allocations: 8.5 kB / 299.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.1948, allocations: 24.78 kB / 299.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.1954, allocations: 0.8964 MB / 300.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.201, allocations: 0.6804 MB / 301.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.749e-05/0.2011, allocations: 101.3 kB / 301.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.2014, allocations: 117.4 kB / 301.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.2016, allocations: 143.3 kB / 301.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2016, allocations: 0 / 301.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01097/0.2126, allocations: 9.61 MB / 311.1 MB, free: 8.445 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8019791785627604]