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.001321/0.001321, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001756/0.001756, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.973 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.1377/0.1377, allocations: 23.86 MB / 336.3 MB, free: 11.2 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.002262/0.002262, allocations: 63.91 kB / 471.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 59.86 MB / 0.5186 GB, free: 9.637 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.03644/0.3632, allocations: 26.67 MB / 0.5446 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.3858, allocations: 16.79 MB / 0.561 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.3871, allocations: 15.88 kB / 0.561 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.3885, allocations: 344.7 kB / 0.5614 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.3934, allocations: 1.502 MB / 0.5628 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.3995, allocations: 2.015 MB / 0.5648 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.4023, allocations: 1.55 MB / 0.5663 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.4037, allocations: 0.6946 MB / 0.567 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.405, allocations: 0.7865 MB / 0.5678 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.4067, allocations: 0.876 MB / 0.5686 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.4071, allocations: 132 kB / 0.5687 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.4132, allocations: 1.802 MB / 0.5705 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006985/0.4139, allocations: 331 kB / 0.5708 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.4151, allocations: 0.6767 MB / 0.5715 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008444/0.4235, allocations: 3.451 MB / 0.5749 GB, free: 476 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4235, allocations: 0 / 0.5749 GB, free: 476 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4235, allocations: 0 / 0.5749 GB, free: 476 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.93e-05/0.4236, allocations: 0 / 0.5749 GB, free: 476 kB / 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.004163/0.4278, allocations: 1.776 MB / 0.5766 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4278, allocations: 20.02 kB / 0.5766 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.428, allocations: 161.1 kB / 0.5768 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.4293, allocations: 279.5 kB / 0.577 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4305, allocations: 0.6049 MB / 0.5776 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.4306, allocations: 138.1 kB / 0.5778 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.4308, allocations: 116.3 kB / 0.5779 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.4331, allocations: 1.333 MB / 0.5792 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.4331, allocations: 4 kB / 0.5792 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.4332, allocations: 51.94 kB / 0.5792 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.4333, allocations: 24 kB / 0.5792 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.436, allocations: 1.695 MB / 0.5809 GB, free: 10.14 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.007327/0.4434, allocations: 4.245 MB / 0.585 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.4469, allocations: 1.921 MB / 0.5869 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009202/0.4479, allocations: 0.5299 MB / 0.5874 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00667/0.4545, allocations: 2.939 MB / 0.5903 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4546, allocations: 39.22 kB / 0.5903 GB, free: 224 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.4546, allocations: 0 / 0.5903 GB, free: 224 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01554/0.4701, allocations: 3.44 MB / 0.5937 GB, free: 12.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.4702, allocations: 64.41 kB / 0.5938 GB, free: 12.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/0.4709, allocations: 0.5939 MB / 0.5943 GB, free: 12.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.471, allocations: 41.7 kB / 0.5944 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.4714, allocations: 0.5467 MB / 0.5949 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.4717, allocations: 345.1 kB / 0.5952 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.4721, allocations: 238.8 kB / 0.5955 GB, free: 10.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4723, allocations: 398.7 kB / 0.5959 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.4729, allocations: 358.5 kB / 0.5962 GB, free: 10.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009856/0.4739, allocations: 0.7477 MB / 0.5969 GB, free: 9.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.4757, allocations: 1.204 MB / 0.5981 GB, free: 7.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4757, allocations: 8 kB / 0.5981 GB, free: 7.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004362/0.4801, allocations: 1.46 MB / 0.5995 GB, free: 6.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.4801, allocations: 12 kB / 0.5995 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4801, allocations: 15.94 kB / 0.5996 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.4822, allocations: 245.5 kB / 0.5998 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.4838, allocations: 331.5 kB / 0.6001 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/0.4897, allocations: 3.66 MB / 0.6037 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/0.4906, allocations: 43.98 kB / 0.6037 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.4908, allocations: 71.98 kB / 0.6038 GB, free: 1.746 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.0004957/0.4913, allocations: 273.9 kB / 0.6041 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.4915, allocations: 91.39 kB / 0.6041 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.4958, allocations: 1.339 MB / 0.6055 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4958, allocations: 8 kB / 0.6055 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4958, allocations: 4 kB / 0.6055 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4958, allocations: 8.109 kB / 0.6055 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.4974, allocations: 1.03 MB / 0.6065 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.4974, allocations: 8.125 kB / 0.6065 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.4986, allocations: 215.7 kB / 0.6067 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.5006, allocations: 237.4 kB / 0.6069 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/0.5007, allocations: 35.92 kB / 0.607 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/0.5063, allocations: 3.557 MB / 0.6104 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5063, allocations: 4.031 kB / 0.6104 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004865/0.5112, allocations: 1.737 MB / 0.6121 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.5114, allocations: 87.39 kB / 0.6122 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.5116, allocations: 20 kB / 0.6122 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.5122, allocations: 23.98 kB / 0.6123 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.5125, allocations: 84.78 kB / 0.6123 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/0.5125, allocations: 39.98 kB / 0.6124 GB, free: 8.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005743/0.5131, allocations: 395 kB / 0.6127 GB, free: 8.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5131, allocations: 0 / 0.6127 GB, free: 8.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002367/0.5155, allocations: 0.6779 MB / 0.6134 GB, free: 7.547 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.006931/0.5224, allocations: 3.009 MB / 0.6163 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.5248, allocations: 1.192 MB / 0.6175 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5249, allocations: 0 / 0.6175 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.5261, allocations: 0.7019 MB / 0.6182 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.5273, allocations: 210.5 kB / 0.6184 GB, free: 2.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.5452, allocations: 8.441 MB / 0.6266 GB, free: 9.395 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009261/0.5461, allocations: 1.041 MB / 0.6277 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009679/0.5471, allocations: 226.2 kB / 0.6279 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.5479, allocations: 484.8 kB / 0.6283 GB, free: 7.637 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.5479, allocations: 0 / 0.6283 GB, free: 7.637 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08191/0.6298, allocations: 33.63 MB / 0.6612 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.1, allocations: 8 kB / 0.6612 GB, free: 6.199 MB / 0.4981 GB " [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.8674670800101] Failed to read output from testmodel.py, exit status != 0: 16.242410507053137 16.272931578 15.844010556 Calling exit ...