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.0016/0.0016, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001811/0.001811, allocations: 214.3 kB / 22.99 MB, free: 4.945 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1401/0.1401, allocations: 23.98 MB / 337.2 MB, free: 10.85 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.88 kB / 472.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2964, allocations: 59.88 MB / 0.52 GB, free: 9.797 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.07125/0.3677, allocations: 26.21 MB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02224/0.3899, allocations: 14.71 MB / 0.5599 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.3911, allocations: 19.81 kB / 0.5599 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.3925, allocations: 312.5 kB / 0.5602 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.3977, allocations: 1.468 MB / 0.5617 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006158/0.4038, allocations: 2.022 MB / 0.5636 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.4067, allocations: 1.547 MB / 0.5652 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.4081, allocations: 0.6875 MB / 0.5658 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.4092, allocations: 0.7832 MB / 0.5666 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.4104, allocations: 0.7785 MB / 0.5673 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.4106, allocations: 136 kB / 0.5675 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005066/0.4157, allocations: 1.7 MB / 0.5691 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003923/0.4161, allocations: 334.9 kB / 0.5695 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007567/0.4168, allocations: 0.5798 MB / 0.57 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008246/0.4251, allocations: 3.436 MB / 0.5734 GB, free: 2.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4251, allocations: 0 / 0.5734 GB, free: 2.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4251, allocations: 3.938 kB / 0.5734 GB, free: 2.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.4251, allocations: 0 / 0.5734 GB, free: 2.91 MB / 414.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.003636/0.4288, allocations: 1.773 MB / 0.5751 GB, free: 1.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4288, allocations: 8.031 kB / 0.5751 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.43, allocations: 275.7 kB / 0.5754 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.4313, allocations: 0.6127 MB / 0.576 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.4314, allocations: 138.1 kB / 0.5761 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.4317, allocations: 116.4 kB / 0.5762 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.4341, allocations: 1.333 MB / 0.5775 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.4341, allocations: 0 / 0.5775 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.4342, allocations: 44 kB / 0.5776 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.4342, allocations: 27.98 kB / 0.5776 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.4371, allocations: 1.675 MB / 0.5792 GB, free: 12.79 MB / 430.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.006883/0.444, allocations: 3.386 MB / 0.5825 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/0.4475, allocations: 1.871 MB / 0.5844 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009469/0.4485, allocations: 0.5338 MB / 0.5849 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006432/0.4549, allocations: 2.791 MB / 0.5876 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.455, allocations: 43.16 kB / 0.5877 GB, free: 4.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.584e-06/0.455, allocations: 0 / 0.5877 GB, free: 4.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01475/0.4697, allocations: 3.418 MB / 0.591 GB, free: 0.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.4698, allocations: 64.39 kB / 0.5911 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.4705, allocations: 0.5703 MB / 0.5916 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.666e-05/0.4706, allocations: 41.7 kB / 0.5916 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.471, allocations: 0.5545 MB / 0.5922 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.4713, allocations: 353.1 kB / 0.5925 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/0.4717, allocations: 234.8 kB / 0.5928 GB, free: 14.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.4719, allocations: 390.7 kB / 0.5931 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.4726, allocations: 358.5 kB / 0.5935 GB, free: 13.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4736, allocations: 0.7438 MB / 0.5942 GB, free: 13.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4754, allocations: 1.2 MB / 0.5954 GB, free: 11.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.4755, allocations: 8 kB / 0.5954 GB, free: 11.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004243/0.4797, allocations: 1.47 MB / 0.5968 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4797, allocations: 13 kB / 0.5968 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.4798, allocations: 15.94 kB / 0.5968 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.4818, allocations: 245.5 kB / 0.5971 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.4834, allocations: 327.5 kB / 0.5974 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.4895, allocations: 3.587 MB / 0.6009 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.4904, allocations: 47.92 kB / 0.6009 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.4906, allocations: 67.98 kB / 0.601 GB, free: 5.703 MB / 446.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.0005834/0.4912, allocations: 280.5 kB / 0.6013 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.4914, allocations: 83.44 kB / 0.6013 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.4957, allocations: 1.324 MB / 0.6026 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.4957, allocations: 15.94 kB / 0.6026 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4957, allocations: 0 / 0.6026 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.4957, allocations: 11.91 kB / 0.6027 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4973, allocations: 0.7961 MB / 0.6034 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4973, allocations: 4.266 kB / 0.6034 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.4985, allocations: 215.8 kB / 0.6036 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.5005, allocations: 237.4 kB / 0.6039 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.5006, allocations: 31.98 kB / 0.6039 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/0.506, allocations: 3.492 MB / 0.6073 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.506, allocations: 0 / 0.6073 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/0.5108, allocations: 1.733 MB / 0.609 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.511, allocations: 79.44 kB / 0.6091 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.5112, allocations: 19.94 kB / 0.6091 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.5117, allocations: 31.98 kB / 0.6091 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.5119, allocations: 76.86 kB / 0.6092 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/0.512, allocations: 39.98 kB / 0.6092 GB, free: 12.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005154/0.5125, allocations: 367.1 kB / 0.6096 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5125, allocations: 0 / 0.6096 GB, free: 12.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002129/0.5147, allocations: 0.6779 MB / 0.6103 GB, free: 11.9 MB / 462.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.001849/0.5165, allocations: 0.8261 MB / 0.6111 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.5189, allocations: 1.192 MB / 0.6122 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5189, allocations: 4 kB / 0.6122 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.5202, allocations: 0.698 MB / 0.6129 GB, free: 9.121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5213, allocations: 203.1 kB / 0.6131 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.5253, allocations: 2.029 MB / 0.6151 GB, free: 6.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.5258, allocations: 455.4 kB / 0.6155 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.5264, allocations: 200.9 kB / 0.6157 GB, free: 6.184 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5264, allocations: 0 / 0.6157 GB, free: 6.184 MB / 462.1 MB Notification: Performance of Templates: time 0.03869/0.5651, allocations: 27.13 MB / 0.6422 GB, free: 11.11 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.373174486681819] Failed to read output from testmodel.py, exit status != 0: 0.5748629863373935 0.590547759 0.161926531 Calling exit ...