Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001162/0.001162, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001903/0.003065, 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.001427/0.001427, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.00297, 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.9695/0.9695, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08805/1.058, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.08674/0.08674, allocations: 17.35 MB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01202/0.09877, allocations: 6.937 MB / 268.4 MB, free: 6.414 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.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 269.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.152e-05, allocations: 2.312 kB / 269.8 MB, free: 5.094 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.1679/0.1679, allocations: 5.603 MB / 275.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.1745, allocations: 6.342 MB / 281.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.175, allocations: 20.66 kB / 281.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.1755, allocations: 191.8 kB / 281.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.1773, allocations: 0.8497 MB / 282.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.1799, allocations: 0.8546 MB / 283.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.1825, allocations: 1.579 MB / 285.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.184, allocations: 0.7428 MB / 285.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.1858, allocations: 1.131 MB / 287.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1869, allocations: 0.7071 MB / 287.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.1872, allocations: 133.7 kB / 287.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.189, allocations: 0.6039 MB / 288.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1892, allocations: 235.5 kB / 288.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.1896, allocations: 397 kB / 289.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.1915, allocations: 1.552 MB / 290.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.1915, allocations: 0 / 290.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1915, allocations: 0 / 290.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.1915, allocations: 0 / 290.7 MB, free: 11.98 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.001918/0.1935, allocations: 1.835 MB / 292.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1935, allocations: 8.844 kB / 292.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009288/0.1944, allocations: 0.4933 MB / 293 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.1951, allocations: 0.4923 MB / 293.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1952, allocations: 136.6 kB / 293.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.1954, allocations: 118.7 kB / 293.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1964, allocations: 0.982 MB / 294.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1964, allocations: 4.188 kB / 294.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.1965, allocations: 52.12 kB / 294.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1965, allocations: 28 kB / 294.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.1974, allocations: 0.8418 MB / 295.7 MB, free: 8.527 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.003608/0.201, allocations: 2.635 MB / 298.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.2029, allocations: 1.951 MB / 300.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.2032, allocations: 270.7 kB / 300.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002449/0.2056, allocations: 1.924 MB / 302.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2057, allocations: 39.22 kB / 302.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.514e-06/0.2057, allocations: 4 kB / 302.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=95): time 0.007187/0.2128, allocations: 3.246 MB / 305.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2129, allocations: 64.41 kB / 305.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.2132, allocations: 0.5308 MB / 306.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.2133, allocations: 37.7 kB / 306.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2135, allocations: 0.4933 MB / 306.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.2137, allocations: 352.9 kB / 307.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.2139, allocations: 234.7 kB / 307.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.214, allocations: 402.6 kB / 307.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2142, allocations: 157.4 kB / 308 MB, free: 12.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.2146, allocations: 0.5523 MB / 308.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.2153, allocations: 0.89 MB / 309.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.2153, allocations: 4 kB / 309.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001452/0.2168, allocations: 0.9306 MB / 310.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2168, allocations: 12.25 kB / 310.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2168, allocations: 16 kB / 310.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.218, allocations: 333.2 kB / 310.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.2187, allocations: 395.5 kB / 311.1 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.2214, allocations: 3.004 MB / 314.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.2219, allocations: 39.98 kB / 314.1 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.2219, allocations: 62.88 kB / 314.2 MB, free: 5.262 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.0002376/0.2222, allocations: 192.2 kB / 314.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2223, allocations: 79.88 kB / 314.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2237, allocations: 0.8654 MB / 315.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2237, allocations: 12 kB / 315.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2237, allocations: 4 kB / 315.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.2238, allocations: 3.984 kB / 315.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.2245, allocations: 0.6649 MB / 316 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2245, allocations: 4 kB / 316 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.2251, allocations: 275.7 kB / 316.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.2251, allocations: 71.42 kB / 316.3 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.2262, allocations: 317.3 kB / 316.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.2263, allocations: 35.98 kB / 316.7 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.2287, allocations: 2.926 MB / 319.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.2287, allocations: 4 kB / 319.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.2302, allocations: 1.039 MB / 320.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2303, allocations: 27.92 kB / 320.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.2305, allocations: 27.94 kB / 320.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.2306, allocations: 84.84 kB / 320.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.2307, allocations: 31.98 kB / 320.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.2309, allocations: 220.6 kB / 321 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2309, allocations: 0 / 321 MB, free: 14.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009966/0.2318, allocations: 403.5 kB / 321.4 MB, free: 13.74 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.0004507/0.2323, allocations: 329.5 kB / 321.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009241/0.2332, allocations: 0.89 MB / 322.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.988e-05/0.2333, allocations: 20.48 kB / 322.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.2337, allocations: 0.6284 MB / 323.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/0.2347, allocations: 1.327 MB / 324.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/0.2424, allocations: 1.818 MB / 326.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2425, allocations: 201 kB / 326.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006179/0.2431, allocations: 218.1 kB / 326.9 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.2436, allocations: 336.8 kB / 327.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2436, allocations: 4 kB / 327.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of Templates: time 0.02276/0.2664, allocations: 19.37 MB / 346.6 MB, free: 4.535 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.136010779067874]