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.0008277/0.0008277, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008614/0.0008614, allocations: 169.3 kB / 23.03 MB, free: 1.547 MB / 18.57 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.9308/0.9308, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.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.09324/0.09324, allocations: 17.37 MB / 277.3 MB, free: 11.63 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.422e-06/1.422e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.356e-05, allocations: 2.312 kB / 353.4 MB, free: 9.973 MB / 282.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.03664/0.03666, allocations: 29.25 MB / 382.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.0431, allocations: 6.25 MB / 388.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.04347, allocations: 19.88 kB / 389 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.04387, allocations: 190.2 kB / 389.1 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.04522, allocations: 0.8572 MB / 390 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.04678, allocations: 0.8517 MB / 390.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.048, allocations: 1.602 MB / 392.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.04864, allocations: 0.7193 MB / 393.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.04946, allocations: 1.073 MB / 394.2 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.05025, allocations: 0.7171 MB / 395 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.05041, allocations: 136 kB / 395.1 MB, free: 380 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009751/0.05139, allocations: 0.585 MB / 395.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.05162, allocations: 334.9 kB / 396 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.05211, allocations: 0.499 MB / 396.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.05416, allocations: 1.716 MB / 398.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.05417, allocations: 0 / 398.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.05417, allocations: 4 kB / 398.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.05419, allocations: 0 / 398.2 MB, free: 13.23 MB / 330.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.002334/0.05652, allocations: 1.637 MB / 399.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.05657, allocations: 11.97 kB / 399.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.05772, allocations: 450.5 kB / 400.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.05859, allocations: 0.6186 MB / 400.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.05871, allocations: 138.1 kB / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.05887, allocations: 112.3 kB / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.06048, allocations: 1.072 MB / 402.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.06051, allocations: 4.188 kB / 402.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.06061, allocations: 44.12 kB / 402.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.06064, allocations: 28 kB / 402.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.06276, allocations: 1.129 MB / 403.5 MB, free: 7.852 MB / 330.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.004819/0.06758, allocations: 3.328 MB / 406.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.07051, allocations: 2.07 MB / 408.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.07105, allocations: 373.5 kB / 409.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1263/0.1973, allocations: 2.193 MB / 411.4 MB, free: 51.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1973, allocations: 45.23 kB / 411.5 MB, free: 51.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.1974, allocations: 0 / 411.5 MB, free: 51.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.007418/0.2048, allocations: 2.975 MB / 414.4 MB, free: 51.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2048, allocations: 64.69 kB / 414.5 MB, free: 51.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.2053, allocations: 0.606 MB / 415.1 MB, free: 50.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.2053, allocations: 39.7 kB / 415.1 MB, free: 50.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.2056, allocations: 0.6047 MB / 415.7 MB, free: 50.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.2058, allocations: 344.6 kB / 416.1 MB, free: 50.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.206, allocations: 234.8 kB / 416.3 MB, free: 50.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2061, allocations: 0.5683 MB / 416.9 MB, free: 49.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.2065, allocations: 231.1 kB / 417.1 MB, free: 49.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.207, allocations: 0.7842 MB / 417.9 MB, free: 49.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.208, allocations: 1.115 MB / 419 MB, free: 48.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.208, allocations: 3.531 kB / 419 MB, free: 48.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002184/0.2101, allocations: 1.26 MB / 420.3 MB, free: 48.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2102, allocations: 9.875 kB / 420.3 MB, free: 48.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2102, allocations: 18.45 kB / 420.3 MB, free: 48.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.2116, allocations: 343.3 kB / 420.6 MB, free: 48.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.2125, allocations: 331.3 kB / 421 MB, free: 48.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.2151, allocations: 4.374 MB / 425.3 MB, free: 44.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.2156, allocations: 40.34 kB / 425.4 MB, free: 44.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/0.2157, allocations: 71.14 kB / 425.4 MB, free: 44.3 MB / 330.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.0002177/0.2159, allocations: 240.3 kB / 425.7 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.216, allocations: 116.4 kB / 425.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.2178, allocations: 1.11 MB / 426.9 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2178, allocations: 6.781 kB / 426.9 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2178, allocations: 3.188 kB / 426.9 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.2178, allocations: 5.672 kB / 426.9 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.2185, allocations: 0.7509 MB / 427.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2185, allocations: 1.969 kB / 427.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.219, allocations: 215.8 kB / 427.9 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.2203, allocations: 337.2 kB / 428.2 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.2204, allocations: 33.41 kB / 428.2 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.2224, allocations: 4.275 MB / 432.5 MB, free: 39.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2224, allocations: 2.688 kB / 432.5 MB, free: 39.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.2243, allocations: 1.383 MB / 433.9 MB, free: 39.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.2244, allocations: 69.38 kB / 434 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.2244, allocations: 22.88 kB / 434 MB, free: 39.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2246, allocations: 24.36 kB / 434 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2248, allocations: 89.64 kB / 434.1 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.2248, allocations: 41.03 kB / 434.1 MB, free: 39.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003141/0.2251, allocations: 365.1 kB / 434.5 MB, free: 38.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2251, allocations: 0 / 434.5 MB, free: 38.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009149/0.226, allocations: 402.5 kB / 434.9 MB, free: 38.82 MB / 330.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.0004419/0.2265, allocations: 331.6 kB / 435.2 MB, free: 38.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.2276, allocations: 1.131 MB / 436.3 MB, free: 38.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2276, allocations: 0 / 436.3 MB, free: 38.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.2281, allocations: 0.7354 MB / 437.1 MB, free: 37.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.2287, allocations: 224.8 kB / 437.3 MB, free: 37.78 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.231, allocations: 1.828 MB / 439.1 MB, free: 36.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.2311, allocations: 213.5 kB / 439.3 MB, free: 36.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.2316, allocations: 218.9 kB / 439.5 MB, free: 36.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.2318, allocations: 161 kB / 439.7 MB, free: 36.41 MB / 330.7 MB Notification: Performance of SimCode: time 9.81e-07/0.2318, allocations: 0 / 439.7 MB, free: 36.41 MB / 330.7 MB Notification: Performance of Templates: time 0.01792/0.2497, allocations: 18.9 MB / 458.6 MB, free: 19.13 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.4832198610529304]