Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.0007196/0.0007196, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.00178, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006841/0.0006841, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008922/0.001576, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9539/0.9539, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08406/1.038, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08212/0.08212, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01156/0.09368, allocations: 6.96 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.176e-05, allocations: 10.11 kB / 269.7 MB, free: 5.113 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Obsolete.mo:14335:7-14335:66: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.1-master/Obsolete.mo:14335:7-14335:66: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.ClimateChange.HydrogenotrophicMethanogenesis): time 0.1322/0.1322, allocations: 5.598 MB / 275.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.1384, allocations: 6.35 MB / 281.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.139, allocations: 15.81 kB / 281.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.1394, allocations: 192 kB / 281.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.1417, allocations: 0.8462 MB / 282.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.1436, allocations: 0.8575 MB / 283.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.1453, allocations: 1.581 MB / 285.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009278/0.1462, allocations: 0.7365 MB / 285.8 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.1477, allocations: 1.131 MB / 287 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.1489, allocations: 0.7166 MB / 287.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.1492, allocations: 133.9 kB / 287.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.1508, allocations: 0.6032 MB / 288.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.151, allocations: 231.4 kB / 288.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.1515, allocations: 398 kB / 289 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.1534, allocations: 1.551 MB / 290.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.1534, allocations: 0 / 290.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1534, allocations: 0 / 290.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.681e-05/0.1534, allocations: 0 / 290.6 MB, free: 11.96 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002207/0.1557, allocations: 1.831 MB / 292.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1557, allocations: 11.45 kB / 292.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.1565, allocations: 0.499 MB / 292.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.1572, allocations: 0.4909 MB / 293.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.1573, allocations: 137 kB / 293.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.1575, allocations: 116.8 kB / 293.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1585, allocations: 0.9824 MB / 294.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1585, allocations: 192 / 294.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.1586, allocations: 56.06 kB / 294.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1586, allocations: 24 kB / 294.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009452/0.1595, allocations: 0.838 MB / 295.6 MB, free: 8.5 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.163, allocations: 2.639 MB / 298.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.1651, allocations: 1.945 MB / 300.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1654, allocations: 274.7 kB / 300.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002553/0.1679, allocations: 1.928 MB / 302.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1679, allocations: 43.22 kB / 302.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.014e-06/0.1679, allocations: 0 / 302.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=95): time 0.006204/0.1741, allocations: 2.728 MB / 305.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1742, allocations: 64.41 kB / 305.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1745, allocations: 0.5308 MB / 305.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.1746, allocations: 41.7 kB / 305.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1748, allocations: 497.1 kB / 306.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.175, allocations: 360.9 kB / 306.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.1751, allocations: 226.8 kB / 306.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1753, allocations: 398.6 kB / 307.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1754, allocations: 157.4 kB / 307.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.1758, allocations: 0.5523 MB / 307.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.1767, allocations: 0.8549 MB / 308.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1767, allocations: 4 kB / 308.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00142/0.1781, allocations: 0.9264 MB / 309.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1781, allocations: 17.7 kB / 309.7 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1781, allocations: 13.02 kB / 309.7 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.1793, allocations: 333.8 kB / 310 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.18, allocations: 395.4 kB / 310.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.1824, allocations: 3.005 MB / 313.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.1829, allocations: 40 kB / 313.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.1829, allocations: 59.98 kB / 313.5 MB, free: 5.797 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.1831, allocations: 192.3 kB / 313.7 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1833, allocations: 83.86 kB / 313.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1847, allocations: 0.8617 MB / 314.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1847, allocations: 8 kB / 314.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1847, allocations: 0 / 314.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1847, allocations: 7.984 kB / 314.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.1857, allocations: 0.6687 MB / 315.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1857, allocations: 8.062 kB / 315.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.1863, allocations: 271.7 kB / 315.6 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1864, allocations: 67.44 kB / 315.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.1875, allocations: 325.4 kB / 316 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.1875, allocations: 32.61 kB / 316 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.1896, allocations: 2.927 MB / 319 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1896, allocations: 4 kB / 319 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1911, allocations: 1.046 MB / 320 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.1912, allocations: 27.94 kB / 320 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.1914, allocations: 20 kB / 320.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1915, allocations: 80.84 kB / 320.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.1915, allocations: 31.98 kB / 320.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.1917, allocations: 216.6 kB / 320.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1917, allocations: 0 / 320.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001017/0.1927, allocations: 407.5 kB / 320.8 MB, free: 14.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.logn) * 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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004524/0.1932, allocations: 335.6 kB / 321.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008977/0.1941, allocations: 0.8757 MB / 322 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-05/0.1941, allocations: 16.5 kB / 322 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.1948, allocations: 0.5523 MB / 322.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.1954, allocations: 332.1 kB / 322.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.2029, allocations: 1.828 MB / 324.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.203, allocations: 201 kB / 324.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005181/0.2035, allocations: 227.7 kB / 325.1 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.204, allocations: 334.8 kB / 325.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.204, allocations: 4 kB / 325.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of Templates: time 0.0218/0.2258, allocations: 19.7 MB / 345.2 MB, free: 6.031 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.119504241272807]