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.001753/0.001753, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002163/0.002163, allocations: 213.7 kB / 22.24 MB, free: 5.258 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.824 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.1332/0.1332, 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.002037/0.002037, allocations: 67.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 59.86 MB / 0.5185 GB, free: 9.535 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.07151/0.388, allocations: 26.09 MB / 0.544 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01968/0.4077, allocations: 14.7 MB / 0.5584 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.4086, allocations: 19.81 kB / 0.5584 GB, free: 116 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.4096, allocations: 304.4 kB / 0.5587 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004278/0.4139, allocations: 1.472 MB / 0.5601 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005489/0.4194, allocations: 2.018 MB / 0.5621 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.4217, allocations: 1.554 MB / 0.5636 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4227, allocations: 0.7046 MB / 0.5643 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000926/0.4236, allocations: 0.7834 MB / 0.5651 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.425, allocations: 0.8644 MB / 0.5659 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.4252, allocations: 135.9 kB / 0.566 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005402/0.4306, allocations: 1.739 MB / 0.5677 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.4311, allocations: 331 kB / 0.5681 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008122/0.4319, allocations: 0.5798 MB / 0.5686 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007315/0.4392, allocations: 3.432 MB / 0.572 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4392, allocations: 0 / 0.572 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4392, allocations: 11.94 kB / 0.572 GB, free: 3.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.4392, allocations: 0 / 0.572 GB, free: 3.148 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.003608/0.4428, allocations: 1.773 MB / 0.5737 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4429, allocations: 8.031 kB / 0.5737 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.4431, allocations: 165 kB / 0.5739 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.4443, allocations: 279.5 kB / 0.5741 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4456, allocations: 0.6087 MB / 0.5747 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.4457, allocations: 138.1 kB / 0.5749 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.4459, allocations: 116.4 kB / 0.575 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.4483, allocations: 1.337 MB / 0.5763 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.4483, allocations: 0 / 0.5763 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.4484, allocations: 44 kB / 0.5763 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4484, allocations: 32 kB / 0.5764 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.4512, allocations: 1.679 MB / 0.578 GB, free: 12.84 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.007164/0.4584, allocations: 3.519 MB / 0.5814 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.462, allocations: 1.879 MB / 0.5833 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.4629, allocations: 0.5299 MB / 0.5838 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006506/0.4694, allocations: 2.787 MB / 0.5865 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4695, allocations: 51.16 kB / 0.5866 GB, free: 3.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 5.029e-06/0.4695, allocations: 7.938 kB / 0.5866 GB, free: 3.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01716/0.4867, allocations: 3.421 MB / 0.5899 GB, free: 484 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4867, allocations: 60.41 kB / 0.59 GB, free: 412 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.4875, allocations: 0.6171 MB / 0.5906 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.4876, allocations: 37.7 kB / 0.5906 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.488, allocations: 0.5507 MB / 0.5911 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.4883, allocations: 349.1 kB / 0.5915 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.4887, allocations: 230.8 kB / 0.5917 GB, free: 14.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4889, allocations: 398.7 kB / 0.5921 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.4895, allocations: 358.5 kB / 0.5924 GB, free: 13.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.4905, allocations: 0.7516 MB / 0.5932 GB, free: 12.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.4923, allocations: 1.2 MB / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.4923, allocations: 4 kB / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004551/0.4969, allocations: 1.475 MB / 0.5958 GB, free: 10.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4969, allocations: 11.94 kB / 0.5958 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.4969, allocations: 12 kB / 0.5958 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/0.4992, allocations: 249.9 kB / 0.596 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.5008, allocations: 327.5 kB / 0.5963 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.5069, allocations: 3.633 MB / 0.5999 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/0.5078, allocations: 40 kB / 0.5999 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.5079, allocations: 67.98 kB / 0.6 GB, free: 5.488 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.0004939/0.5084, allocations: 273.4 kB / 0.6003 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.5086, allocations: 87.44 kB / 0.6003 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/0.5131, allocations: 1.336 MB / 0.6016 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5131, allocations: 12 kB / 0.6016 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5132, allocations: 0 / 0.6016 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5132, allocations: 3.984 kB / 0.6017 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.5147, allocations: 0.9245 MB / 0.6026 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5147, allocations: 0 / 0.6026 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.516, allocations: 219.8 kB / 0.6028 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.5183, allocations: 225.5 kB / 0.603 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.5184, allocations: 35.92 kB / 0.603 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/0.5241, allocations: 3.53 MB / 0.6065 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5241, allocations: 0 / 0.6065 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.529, allocations: 1.744 MB / 0.6082 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.5294, allocations: 79.42 kB / 0.6082 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5295, allocations: 24 kB / 0.6083 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.5301, allocations: 23.98 kB / 0.6083 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.5303, allocations: 80.8 kB / 0.6084 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.5304, allocations: 40.11 kB / 0.6084 GB, free: 12.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005989/0.531, allocations: 395 kB / 0.6088 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.531, allocations: 4 kB / 0.6088 GB, free: 12.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00228/0.5333, allocations: 0.6779 MB / 0.6094 GB, free: 11.45 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.006879/0.5402, allocations: 3.01 MB / 0.6124 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.5425, allocations: 1.2 MB / 0.6136 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.5425, allocations: 4 kB / 0.6136 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.5437, allocations: 0.6902 MB / 0.6142 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5448, allocations: 209.2 kB / 0.6144 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/0.5613, allocations: 8.449 MB / 0.6227 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.5617, allocations: 447.5 kB / 0.6231 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008267/0.5626, allocations: 226.6 kB / 0.6233 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/0.5633, allocations: 480.2 kB / 0.6238 GB, free: 12.14 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5633, allocations: 0 / 0.6238 GB, free: 12.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07873/0.642, allocations: 34.45 MB / 0.6574 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15, allocations: 11.92 kB / 0.6574 GB, free: 9.969 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.675337719003437] Failed to read output from testmodel.py, exit status != 0: 15.139241133991163 15.163161373 14.719318692 Calling exit ...