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.001546/0.001546, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001659/0.001659, allocations: 161.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.1342/0.1342, allocations: 17.37 MB / 276.5 MB, free: 15.27 MB / 270.1 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.763e-06/1.763e-06, allocations: 0 / 412 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.799e-05, allocations: 5.797 kB / 412 MB, free: 4.422 MB / 334.1 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.0384/0.03842, allocations: 26.49 MB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2083/0.2467, allocations: 14.7 MB / 453.2 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.2473, allocations: 18.81 kB / 453.2 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008327/0.2482, allocations: 311.9 kB / 453.5 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.2517, allocations: 1.527 MB / 455 MB, free: 31.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.2563, allocations: 2.076 MB / 457.1 MB, free: 30.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.258, allocations: 1.6 MB / 458.7 MB, free: 30.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008365/0.2588, allocations: 0.6963 MB / 459.4 MB, free: 29.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.26, allocations: 1.065 MB / 460.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.261, allocations: 0.703 MB / 461.1 MB, free: 29.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.2612, allocations: 134.5 kB / 461.3 MB, free: 29.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.2655, allocations: 1.709 MB / 463 MB, free: 29.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.2658, allocations: 336.4 kB / 463.3 MB, free: 28.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005665/0.2663, allocations: 0.5005 MB / 463.8 MB, free: 28.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005265/0.2716, allocations: 3.656 MB / 467.5 MB, free: 27.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2716, allocations: 0 / 467.5 MB, free: 27.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2716, allocations: 2.625 kB / 467.5 MB, free: 27.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.2716, allocations: 0 / 467.5 MB, free: 27.46 MB / 366.1 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.002999/0.2746, allocations: 1.756 MB / 469.2 MB, free: 26.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2747, allocations: 9.438 kB / 469.2 MB, free: 26.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.2759, allocations: 274.1 kB / 469.5 MB, free: 26.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.2768, allocations: 0.6195 MB / 470.1 MB, free: 25.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.924e-05/0.2769, allocations: 136 kB / 470.3 MB, free: 25.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.277, allocations: 118.5 kB / 470.4 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.2789, allocations: 1.333 MB / 471.7 MB, free: 25.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.2789, allocations: 1.375 kB / 471.7 MB, free: 25.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.279, allocations: 40.84 kB / 471.8 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.279, allocations: 30.78 kB / 471.8 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.2814, allocations: 1.676 MB / 473.5 MB, free: 24.27 MB / 366.1 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.005236/0.2866, allocations: 3.383 MB / 476.8 MB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.2896, allocations: 1.872 MB / 478.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.2903, allocations: 0.5299 MB / 479.2 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005061/0.2953, allocations: 2.804 MB / 482 MB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.2953, allocations: 43.16 kB / 482.1 MB, free: 17.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.2953, allocations: 4 kB / 482.1 MB, free: 17.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=95): time 0.01425/0.3096, allocations: 3.422 MB / 485.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3096, allocations: 60.41 kB / 485.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.3102, allocations: 0.5701 MB / 486.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.3102, allocations: 45.69 kB / 486.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3104, allocations: 0.5455 MB / 486.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.3106, allocations: 352 kB / 487.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.3109, allocations: 230.8 kB / 487.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.311, allocations: 386.8 kB / 487.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.3115, allocations: 358.5 kB / 488 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.3122, allocations: 0.7516 MB / 488.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.3135, allocations: 1.204 MB / 490 MB, free: 9.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3135, allocations: 4 kB / 490 MB, free: 9.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003749/0.3172, allocations: 1.466 MB / 491.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3172, allocations: 12 kB / 491.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3173, allocations: 22.53 kB / 491.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.3192, allocations: 246.7 kB / 491.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.3206, allocations: 330.1 kB / 492.1 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.3252, allocations: 3.586 MB / 495.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/0.326, allocations: 40 kB / 495.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3261, allocations: 67.97 kB / 495.7 MB, free: 3.625 MB / 366.1 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.0003987/0.3265, allocations: 280 kB / 496 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3267, allocations: 87.44 kB / 496.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.3305, allocations: 1.321 MB / 497.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3305, allocations: 8 kB / 497.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3305, allocations: 0 / 497.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.3305, allocations: 7.984 kB / 497.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.3315, allocations: 0.7885 MB / 498.2 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3315, allocations: 2.875 kB / 498.2 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.3327, allocations: 218.3 kB / 498.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.3346, allocations: 226.8 kB / 498.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.3347, allocations: 35.98 kB / 498.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/0.3399, allocations: 3.481 MB / 0.4904 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3399, allocations: 0 / 0.4904 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.3447, allocations: 1.742 MB / 0.4921 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.3449, allocations: 71.42 kB / 0.4922 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.3451, allocations: 24.06 kB / 0.4922 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/0.3456, allocations: 20 kB / 0.4922 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.3458, allocations: 88.78 kB / 0.4923 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.772e-05/0.3459, allocations: 35.98 kB / 0.4923 GB, free: 11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004742/0.3463, allocations: 363.1 kB / 0.4927 GB, free: 10.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3463, allocations: 6.688 kB / 0.4927 GB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002271/0.3486, allocations: 0.674 MB / 0.4934 GB, free: 9.969 MB / 382.1 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.0016/0.3502, allocations: 0.8652 MB / 0.4942 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.3525, allocations: 1.189 MB / 0.4954 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3525, allocations: 0 / 0.4954 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.3537, allocations: 0.6929 MB / 0.496 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3547, allocations: 203.9 kB / 0.4962 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.3582, allocations: 1.908 MB / 0.4981 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.3587, allocations: 452.8 kB / 0.4985 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007517/0.3594, allocations: 225.1 kB / 0.4987 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.3598, allocations: 158.3 kB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3598, allocations: 0 / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of Templates: time 0.04104/0.4008, allocations: 23.95 MB / 0.5223 GB, free: 13.44 MB / 414.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.72137613967061] Failed to read output from testmodel.py, exit status != 0: 0.41027507930994034 0.42484089999999997 0.15006608000000002 Calling exit ...