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.001376/0.001376, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001457/0.001457, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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.1417/0.1417, allocations: 23.86 MB / 333.4 MB, free: 1.223 MB / 254.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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) [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.00201/0.00201, allocations: 60.03 kB / 466.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.0972, allocations: 59.83 MB / 0.5142 GB, free: 12.97 MB / 382.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.03938/0.1366, allocations: 26.45 MB / 0.54 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.158, allocations: 16.76 MB / 0.5564 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.1588, allocations: 15.88 kB / 0.5564 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1598, allocations: 345.4 kB / 0.5567 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.1642, allocations: 1.486 MB / 0.5582 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005668/0.1698, allocations: 2 MB / 0.5601 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.1722, allocations: 1.545 MB / 0.5616 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009576/0.1732, allocations: 0.7068 MB / 0.5623 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.1742, allocations: 0.7872 MB / 0.5631 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.1755, allocations: 0.8644 MB / 0.5639 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.1758, allocations: 132 kB / 0.5641 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/0.1809, allocations: 1.806 MB / 0.5658 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004217/0.1813, allocations: 335 kB / 0.5662 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009098/0.1822, allocations: 0.6806 MB / 0.5668 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.1892, allocations: 3.447 MB / 0.5702 GB, free: 3.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1892, allocations: 0 / 0.5702 GB, free: 3.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1892, allocations: 0 / 0.5702 GB, free: 3.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.1892, allocations: 0 / 0.5702 GB, free: 3.523 MB / 430.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.003568/0.1928, allocations: 1.86 MB / 0.572 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.1928, allocations: 8.031 kB / 0.572 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.438e-05/0.1929, allocations: 26.36 kB / 0.572 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.1931, allocations: 161.1 kB / 0.5722 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1943, allocations: 283.5 kB / 0.5725 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.1954, allocations: 0.673 MB / 0.5731 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1955, allocations: 112.4 kB / 0.5732 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.1957, allocations: 124.1 kB / 0.5733 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.1981, allocations: 1.333 MB / 0.5746 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1981, allocations: 0 / 0.5746 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1983, allocations: 48 kB / 0.5747 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.1983, allocations: 27.94 kB / 0.5747 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.2012, allocations: 1.695 MB / 0.5764 GB, free: 13.02 MB / 446.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.007274/0.2085, allocations: 4.295 MB / 0.5806 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.2123, allocations: 2.211 MB / 0.5827 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.2134, allocations: 0.5341 MB / 0.5832 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2227/0.4361, allocations: 5.402 MB / 0.5885 GB, free: 64.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4361, allocations: 39.17 kB / 0.5886 GB, free: 64.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.727e-06/0.4361, allocations: 0.75 kB / 0.5886 GB, free: 64.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01605/0.4522, allocations: 3.576 MB / 0.592 GB, free: 64.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.4522, allocations: 64.62 kB / 0.5921 GB, free: 64.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.453, allocations: 0.5904 MB / 0.5927 GB, free: 63.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/0.4531, allocations: 41.48 kB / 0.5927 GB, free: 63.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.4534, allocations: 0.5471 MB / 0.5933 GB, free: 63.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.4537, allocations: 350 kB / 0.5936 GB, free: 63.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.4541, allocations: 231.4 kB / 0.5938 GB, free: 63.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4542, allocations: 398.1 kB / 0.5942 GB, free: 62.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.4548, allocations: 357.3 kB / 0.5945 GB, free: 62.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.4557, allocations: 0.7536 MB / 0.5953 GB, free: 62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.4573, allocations: 1.202 MB / 0.5964 GB, free: 61.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.4573, allocations: 3.781 kB / 0.5964 GB, free: 61.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004242/0.4616, allocations: 1.468 MB / 0.5979 GB, free: 60.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4616, allocations: 10.72 kB / 0.5979 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.4616, allocations: 19.38 kB / 0.5979 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.4636, allocations: 243.2 kB / 0.5981 GB, free: 60.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.4652, allocations: 328.9 kB / 0.5985 GB, free: 60.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.4701, allocations: 3.861 MB / 0.6022 GB, free: 57.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/0.4711, allocations: 45.23 kB / 0.6023 GB, free: 57.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4712, allocations: 73.25 kB / 0.6023 GB, free: 56.99 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.0005003/0.4717, allocations: 278.8 kB / 0.6026 GB, free: 56.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.472, allocations: 88.34 kB / 0.6027 GB, free: 56.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/0.4762, allocations: 1.327 MB / 0.604 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/0.4762, allocations: 11.23 kB / 0.604 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4762, allocations: 1.031 kB / 0.604 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.4763, allocations: 6.609 kB / 0.604 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.4779, allocations: 1.073 MB / 0.6051 GB, free: 55.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4779, allocations: 1.156 kB / 0.6051 GB, free: 55.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.4792, allocations: 216 kB / 0.6053 GB, free: 55.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.4812, allocations: 232.9 kB / 0.6055 GB, free: 55.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.4814, allocations: 34.66 kB / 0.6055 GB, free: 55.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.4858, allocations: 3.768 MB / 0.6092 GB, free: 52.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4858, allocations: 8.609 kB / 0.6092 GB, free: 52.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.4903, allocations: 1.74 MB / 0.6109 GB, free: 51.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.4906, allocations: 162.6 kB / 0.6111 GB, free: 51.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4907, allocations: 24.05 kB / 0.6111 GB, free: 51.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.4912, allocations: 23.05 kB / 0.6111 GB, free: 51.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.4914, allocations: 81.47 kB / 0.6112 GB, free: 51.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.4915, allocations: 42.38 kB / 0.6112 GB, free: 51.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004475/0.4919, allocations: 389 kB / 0.6116 GB, free: 50.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4919, allocations: 0.7812 kB / 0.6116 GB, free: 50.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002045/0.494, allocations: 0.6803 MB / 0.6123 GB, free: 50.91 MB / 446.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.005521/0.4995, allocations: 3.013 MB / 0.6152 GB, free: 49.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.5015, allocations: 1.182 MB / 0.6164 GB, free: 48.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5016, allocations: 0 / 0.6164 GB, free: 48.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.5026, allocations: 0.7049 MB / 0.617 GB, free: 48.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.5037, allocations: 194.6 kB / 0.6172 GB, free: 48.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.5171, allocations: 8.462 MB / 0.6255 GB, free: 43.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.5175, allocations: 1.039 MB / 0.6265 GB, free: 42.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007845/0.5183, allocations: 227.9 kB / 0.6267 GB, free: 41.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.5188, allocations: 480.5 kB / 0.6272 GB, free: 41.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5188, allocations: 0 / 0.6272 GB, free: 41.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05914/0.578, allocations: 32.73 MB / 0.6591 GB, free: 9.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.47, allocations: 9.984 kB / 0.6591 GB, free: 9.887 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.385997838980984] Failed to read output from testmodel.py, exit status != 0: 15.647980684996583 15.667012361 15.473351981 Calling exit ...