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.0008881/0.0008881, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002306, 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.00156/0.00156, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002617/0.004177, 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.9427/0.9427, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09626/1.039, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.09601/0.09601, allocations: 17.36 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01122/0.1072, allocations: 6.929 MB / 268.3 MB, free: 6.508 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.793e-06/1.793e-06, allocations: 0 / 269.5 MB, free: 5.223 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.051e-05, allocations: 2.312 kB / 269.5 MB, free: 5.219 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.1549/0.1549, allocations: 5.597 MB / 275.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.1619, allocations: 6.347 MB / 281.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.1625, allocations: 15.88 kB / 281.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.1629, allocations: 189.1 kB / 281.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.1648, allocations: 0.8573 MB / 282.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.1669, allocations: 0.85 MB / 283.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.1686, allocations: 1.584 MB / 285 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.1696, allocations: 0.7381 MB / 285.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.171, allocations: 1.135 MB / 286.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.172, allocations: 0.7032 MB / 287.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.1723, allocations: 135 kB / 287.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.1738, allocations: 0.6076 MB / 288.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.1741, allocations: 235.3 kB / 288.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.1746, allocations: 396.8 kB / 288.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.1765, allocations: 1.545 MB / 290.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.1765, allocations: 4.844 kB / 290.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1765, allocations: 0 / 290.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.675e-05/0.1766, allocations: 0 / 290.5 MB, free: 12.1 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.002093/0.1787, allocations: 1.837 MB / 292.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1787, allocations: 10.47 kB / 292.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008521/0.1796, allocations: 0.4948 MB / 292.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.1804, allocations: 0.4903 MB / 293.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1805, allocations: 136.4 kB / 293.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.1806, allocations: 116.6 kB / 293.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1818, allocations: 0.9831 MB / 294.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1818, allocations: 4.125 kB / 294.5 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.1818, allocations: 48.12 kB / 294.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.1819, allocations: 28 kB / 294.6 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.183, allocations: 0.838 MB / 295.4 MB, free: 8.695 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.003643/0.1866, allocations: 2.64 MB / 298.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.1885, allocations: 1.946 MB / 300 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.1888, allocations: 274.7 kB / 300.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002655/0.1914, allocations: 1.928 MB / 302.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1915, allocations: 43.22 kB / 302.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.1915, allocations: 0 / 302.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=95): time 0.006178/0.1976, allocations: 2.726 MB / 305 MB, free: 15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1977, allocations: 60.41 kB / 305.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.198, allocations: 0.5269 MB / 305.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.1981, allocations: 45.7 kB / 305.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1983, allocations: 0.4894 MB / 306.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.1985, allocations: 352.9 kB / 306.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.1987, allocations: 230.7 kB / 306.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1989, allocations: 406.6 kB / 307.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1991, allocations: 149.4 kB / 307.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.1997, allocations: 0.5601 MB / 307.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.2004, allocations: 0.8432 MB / 308.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2004, allocations: 8 kB / 308.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001495/0.2019, allocations: 0.9268 MB / 309.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.2019, allocations: 12 kB / 309.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.2019, allocations: 12 kB / 309.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.2031, allocations: 341.3 kB / 309.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.2039, allocations: 395.4 kB / 310.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.2066, allocations: 3.005 MB / 313.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.2072, allocations: 44.03 kB / 313.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.2073, allocations: 62.88 kB / 313.4 MB, free: 5.984 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.0002894/0.2076, allocations: 184.2 kB / 313.6 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2077, allocations: 79.88 kB / 313.7 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.2095, allocations: 0.868 MB / 314.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.2095, allocations: 8 kB / 314.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2095, allocations: 0 / 314.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2095, allocations: 15.97 kB / 314.6 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.2104, allocations: 0.6726 MB / 315.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.2104, allocations: 0 / 315.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.211, allocations: 263.7 kB / 315.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.2111, allocations: 71.56 kB / 315.6 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.2122, allocations: 317.3 kB / 315.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.2123, allocations: 31.98 kB / 315.9 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.2145, allocations: 2.931 MB / 318.8 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2145, allocations: 8.031 kB / 318.8 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.216, allocations: 1.042 MB / 319.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.2161, allocations: 23.94 kB / 319.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2163, allocations: 24 kB / 319.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2164, allocations: 84.84 kB / 320 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.2165, allocations: 27.98 kB / 320 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.2167, allocations: 224.6 kB / 320.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2167, allocations: 0 / 320.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001095/0.2177, allocations: 407.5 kB / 320.7 MB, free: 14.46 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.0004558/0.2182, allocations: 325.4 kB / 321 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.2193, allocations: 0.8757 MB / 321.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/0.2194, allocations: 12.5 kB / 321.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.2198, allocations: 0.5642 MB / 322.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.2203, allocations: 330.3 kB / 322.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007357/0.2277, allocations: 1.832 MB / 324.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2279, allocations: 201 kB / 324.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005666/0.2284, allocations: 224 kB / 325 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/0.2289, allocations: 330.8 kB / 325.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2289, allocations: 7.938 kB / 325.3 MB, free: 9.684 MB / 314.7 MB Notification: Performance of Templates: time 0.02197/0.2508, allocations: 19.72 MB / 345 MB, free: 6.211 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.2474676007404923]