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.001281/0.001281, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001381/0.001381, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1354/0.1354, allocations: 23.88 MB / 333.4 MB, free: 1.18 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_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.001928/0.001928, allocations: 67.73 kB / 466.7 MB, free: 30.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 59.83 MB / 0.5142 GB, free: 12.91 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.03944/0.1418, allocations: 26.46 MB / 0.5401 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02197/0.1638, allocations: 16.75 MB / 0.5564 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009759/0.1647, allocations: 23.81 kB / 0.5564 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1658, allocations: 337.5 kB / 0.5568 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.1705, allocations: 1.49 MB / 0.5582 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005384/0.1758, allocations: 2 MB / 0.5602 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.178, allocations: 1.541 MB / 0.5617 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.1789, allocations: 0.7223 MB / 0.5624 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008778/0.1798, allocations: 0.7716 MB / 0.5631 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.181, allocations: 0.8682 MB / 0.564 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.1812, allocations: 136 kB / 0.5641 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.1863, allocations: 1.802 MB / 0.5659 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.1868, allocations: 335 kB / 0.5662 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008165/0.1876, allocations: 0.6884 MB / 0.5669 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00734/0.1949, allocations: 3.447 MB / 0.5702 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1949, allocations: 0 / 0.5702 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1949, allocations: 0 / 0.5702 GB, free: 3.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.487e-05/0.195, allocations: 0 / 0.5702 GB, free: 3.461 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.003777/0.1987, allocations: 1.851 MB / 0.572 GB, free: 1.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.1988, allocations: 8.031 kB / 0.5721 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.325e-05/0.1988, allocations: 30.36 kB / 0.5721 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.1991, allocations: 165 kB / 0.5722 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.2003, allocations: 283.4 kB / 0.5725 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.2014, allocations: 0.6769 MB / 0.5732 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.2015, allocations: 112.4 kB / 0.5733 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.2018, allocations: 120.1 kB / 0.5734 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.204, allocations: 1.333 MB / 0.5747 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2041, allocations: 0 / 0.5747 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.2042, allocations: 44 kB / 0.5747 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.2042, allocations: 28 kB / 0.5748 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.2071, allocations: 1.695 MB / 0.5764 GB, free: 12.96 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.007697/0.2148, allocations: 4.299 MB / 0.5806 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.2186, allocations: 2.211 MB / 0.5828 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009032/0.2195, allocations: 0.538 MB / 0.5833 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2196/0.4391, allocations: 5.391 MB / 0.5886 GB, free: 64.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4391, allocations: 42.44 kB / 0.5886 GB, free: 64.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.895e-06/0.4391, allocations: 3.844 kB / 0.5886 GB, free: 64.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01475/0.4539, allocations: 3.579 MB / 0.5921 GB, free: 64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4539, allocations: 61.78 kB / 0.5922 GB, free: 63.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/0.4546, allocations: 0.5894 MB / 0.5927 GB, free: 63.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.4547, allocations: 41.45 kB / 0.5928 GB, free: 63.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.455, allocations: 0.5434 MB / 0.5933 GB, free: 63.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.4552, allocations: 351.3 kB / 0.5936 GB, free: 63.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.4555, allocations: 232.7 kB / 0.5939 GB, free: 62.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4556, allocations: 393.2 kB / 0.5942 GB, free: 62.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.4562, allocations: 358.5 kB / 0.5946 GB, free: 62.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/0.4569, allocations: 0.7497 MB / 0.5953 GB, free: 61.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4583, allocations: 1.204 MB / 0.5965 GB, free: 60.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.4584, allocations: 3.969 kB / 0.5965 GB, free: 60.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003886/0.4622, allocations: 1.471 MB / 0.5979 GB, free: 60.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4623, allocations: 11.16 kB / 0.5979 GB, free: 60.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4623, allocations: 15.03 kB / 0.598 GB, free: 60.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.4642, allocations: 251 kB / 0.5982 GB, free: 60.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.4657, allocations: 326 kB / 0.5985 GB, free: 60.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/0.4703, allocations: 3.861 MB / 0.6023 GB, free: 56.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.4712, allocations: 41.58 kB / 0.6023 GB, free: 56.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.4713, allocations: 71.08 kB / 0.6024 GB, free: 56.84 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.0004262/0.4717, allocations: 278.4 kB / 0.6026 GB, free: 56.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4719, allocations: 91.2 kB / 0.6027 GB, free: 56.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.4758, allocations: 1.331 MB / 0.604 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.4758, allocations: 10.59 kB / 0.604 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4758, allocations: 1.031 kB / 0.604 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4759, allocations: 5.156 kB / 0.6041 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.4773, allocations: 1.074 MB / 0.6051 GB, free: 55.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4773, allocations: 1.031 kB / 0.6051 GB, free: 55.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.4785, allocations: 219.9 kB / 0.6053 GB, free: 55.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.4804, allocations: 225.9 kB / 0.6055 GB, free: 55.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.4805, allocations: 33.61 kB / 0.6056 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.4848, allocations: 3.771 MB / 0.6092 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4848, allocations: 4.719 kB / 0.6092 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/0.4889, allocations: 1.742 MB / 0.6109 GB, free: 51.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4892, allocations: 165.3 kB / 0.6111 GB, free: 51.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.4893, allocations: 20.56 kB / 0.6111 GB, free: 51.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.4898, allocations: 24.23 kB / 0.6111 GB, free: 51.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.49, allocations: 78.52 kB / 0.6112 GB, free: 51.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.4901, allocations: 38.78 kB / 0.6113 GB, free: 51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004394/0.4906, allocations: 391.1 kB / 0.6116 GB, free: 50.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4906, allocations: 0 / 0.6116 GB, free: 50.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002193/0.4927, allocations: 0.6836 MB / 0.6123 GB, free: 50.75 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.005277/0.498, allocations: 3.01 MB / 0.6152 GB, free: 49.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.5, allocations: 1.207 MB / 0.6164 GB, free: 48.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5, allocations: 0 / 0.6164 GB, free: 48.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.5009, allocations: 0.6902 MB / 0.6171 GB, free: 48.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5019, allocations: 203.3 kB / 0.6173 GB, free: 48.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.5153, allocations: 8.453 MB / 0.6255 GB, free: 42.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.5157, allocations: 1.034 MB / 0.6265 GB, free: 42.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007497/0.5164, allocations: 231.8 kB / 0.6268 GB, free: 41.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.5169, allocations: 479.1 kB / 0.6272 GB, free: 41.45 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5169, allocations: 0 / 0.6272 GB, free: 41.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05471/0.5716, allocations: 32.74 MB / 0.6592 GB, free: 9.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.37, allocations: 0 / 0.6592 GB, free: 9.844 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.196467914967798] Failed to read output from testmodel.py, exit status != 0: 15.543135823972989 15.559295598 15.36031357 Calling exit ...