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.001285/0.001285, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001455/0.001455, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.789 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.1401/0.1401, allocations: 23.88 MB / 336.3 MB, free: 10.96 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",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.002115/0.002115, allocations: 63.91 kB / 471.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 59.86 MB / 0.5185 GB, free: 9.543 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.07749/0.3966, allocations: 26.21 MB / 0.5441 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.4184, allocations: 14.7 MB / 0.5585 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.4195, allocations: 15.88 kB / 0.5585 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.4205, allocations: 316.6 kB / 0.5588 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.4254, allocations: 1.472 MB / 0.5602 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006487/0.4319, allocations: 2.016 MB / 0.5622 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.4349, allocations: 1.542 MB / 0.5637 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.4361, allocations: 0.6921 MB / 0.5644 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.4372, allocations: 0.7852 MB / 0.5652 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.4384, allocations: 0.7785 MB / 0.5659 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.4387, allocations: 136 kB / 0.5661 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006274/0.445, allocations: 1.7 MB / 0.5677 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.4457, allocations: 331 kB / 0.568 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.4467, allocations: 0.5759 MB / 0.5686 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008907/0.4556, allocations: 3.44 MB / 0.5719 GB, free: 3.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4556, allocations: 0 / 0.5719 GB, free: 3.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4556, allocations: 0 / 0.5719 GB, free: 3.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.4557, allocations: 0 / 0.5719 GB, free: 3.188 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.003713/0.4594, allocations: 1.777 MB / 0.5737 GB, free: 1.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4594, allocations: 11.97 kB / 0.5737 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.4596, allocations: 161.1 kB / 0.5738 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.4609, allocations: 283.5 kB / 0.5741 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.4622, allocations: 0.6126 MB / 0.5747 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.4624, allocations: 138.1 kB / 0.5748 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.4626, allocations: 120.3 kB / 0.575 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.4651, allocations: 1.329 MB / 0.5763 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.4651, allocations: 0 / 0.5763 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.4652, allocations: 44 kB / 0.5763 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.4652, allocations: 31.94 kB / 0.5763 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.4683, allocations: 1.675 MB / 0.578 GB, free: 12.88 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.00765/0.4759, allocations: 3.519 MB / 0.5814 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/0.4797, allocations: 1.882 MB / 0.5832 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4807, allocations: 0.5338 MB / 0.5838 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006982/0.4877, allocations: 2.791 MB / 0.5865 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.4877, allocations: 47.2 kB / 0.5865 GB, free: 3.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.4877, allocations: 0 / 0.5865 GB, free: 3.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0156/0.5033, allocations: 3.422 MB / 0.5899 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.5034, allocations: 60.41 kB / 0.5899 GB, free: 452 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/0.5043, allocations: 0.6094 MB / 0.5905 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.5044, allocations: 49.64 kB / 0.5906 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.5048, allocations: 0.5468 MB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.5051, allocations: 349.1 kB / 0.5914 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.5055, allocations: 230.8 kB / 0.5917 GB, free: 14.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.5057, allocations: 394.7 kB / 0.592 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/0.5064, allocations: 358.5 kB / 0.5924 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.5075, allocations: 0.7477 MB / 0.5931 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.5093, allocations: 1.204 MB / 0.5943 GB, free: 11.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.5093, allocations: 8 kB / 0.5943 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00422/0.5135, allocations: 1.463 MB / 0.5957 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.5136, allocations: 16.25 kB / 0.5957 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.5136, allocations: 15.98 kB / 0.5958 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.5156, allocations: 241.5 kB / 0.596 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.5171, allocations: 335.5 kB / 0.5963 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.5229, allocations: 3.631 MB / 0.5999 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/0.5239, allocations: 44.05 kB / 0.5999 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.524, allocations: 71.98 kB / 0.6 GB, free: 5.531 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.0006074/0.5246, allocations: 273.3 kB / 0.6002 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.5249, allocations: 91.44 kB / 0.6003 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.5292, allocations: 1.336 MB / 0.6016 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.5292, allocations: 8 kB / 0.6016 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5293, allocations: 4 kB / 0.6016 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.5293, allocations: 3.984 kB / 0.6016 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.5309, allocations: 0.9243 MB / 0.6025 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5309, allocations: 4 kB / 0.6025 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.5321, allocations: 211.8 kB / 0.6027 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/0.5341, allocations: 237.5 kB / 0.603 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.5342, allocations: 35.92 kB / 0.603 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.5395, allocations: 3.534 MB / 0.6064 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5396, allocations: 0 / 0.6064 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.5442, allocations: 1.733 MB / 0.6081 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.5444, allocations: 83.48 kB / 0.6082 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5446, allocations: 24 kB / 0.6082 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.5451, allocations: 23.94 kB / 0.6083 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.5453, allocations: 88.78 kB / 0.6084 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.5454, allocations: 35.98 kB / 0.6084 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005053/0.5459, allocations: 391.1 kB / 0.6088 GB, free: 12.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5459, allocations: 0 / 0.6088 GB, free: 12.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002002/0.5479, allocations: 0.674 MB / 0.6094 GB, free: 11.49 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.006509/0.5544, allocations: 3.01 MB / 0.6124 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.5568, allocations: 1.183 MB / 0.6135 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5568, allocations: 1.312 kB / 0.6135 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.558, allocations: 0.7021 MB / 0.6142 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5591, allocations: 209.7 kB / 0.6144 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.5761, allocations: 8.452 MB / 0.6227 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.5766, allocations: 451.5 kB / 0.6231 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009106/0.5776, allocations: 222.8 kB / 0.6233 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/0.5783, allocations: 481.4 kB / 0.6238 GB, free: 12.18 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5783, allocations: 0 / 0.6238 GB, free: 12.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07876/0.6571, allocations: 34.09 MB / 0.657 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.26, allocations: 15.86 kB / 0.6571 GB, free: 10.37 MB / 0.4981 GB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 17.95362804317847] Failed to read output from testmodel.py, exit status != 0: 15.400660292711109 15.42450204 14.964146543 Calling exit ...