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.001819/0.001819, allocations: 111 kB / 16.46 MB, free: 6.453 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.002148/0.002148, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.138/0.138, allocations: 23.88 MB / 332.7 MB, free: 12.34 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_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.002189/0.002189, allocations: 68.12 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2927, allocations: 59.83 MB / 0.5135 GB, free: 8.828 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.03647/0.3291, allocations: 26.64 MB / 0.5396 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02211/0.3512, allocations: 16.76 MB / 0.5559 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.3522, allocations: 19.81 kB / 0.5559 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.3535, allocations: 338.7 kB / 0.5563 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.3587, allocations: 1.488 MB / 0.5577 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006248/0.3649, allocations: 1.997 MB / 0.5597 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002777/0.3677, allocations: 1.551 MB / 0.5612 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.369, allocations: 0.7144 MB / 0.5619 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.3703, allocations: 0.7763 MB / 0.5626 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.3718, allocations: 0.8682 MB / 0.5635 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003741/0.3722, allocations: 136 kB / 0.5636 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005833/0.378, allocations: 1.808 MB / 0.5654 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005494/0.3786, allocations: 331 kB / 0.5657 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.3796, allocations: 0.6845 MB / 0.5664 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007677/0.3873, allocations: 3.451 MB / 0.5697 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3873, allocations: 0 / 0.5697 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3873, allocations: 0 / 0.5697 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.384e-05/0.3873, allocations: 0 / 0.5697 GB, free: 1.668 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.004095/0.3914, allocations: 1.848 MB / 0.5715 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3915, allocations: 8.031 kB / 0.5715 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/0.3917, allocations: 165.1 kB / 0.5717 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.3931, allocations: 279.5 kB / 0.572 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3943, allocations: 0.6807 MB / 0.5726 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3944, allocations: 112.4 kB / 0.5727 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.3946, allocations: 112.3 kB / 0.5729 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.3971, allocations: 1.344 MB / 0.5742 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.3971, allocations: 0 / 0.5742 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.3972, allocations: 44 kB / 0.5742 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.3972, allocations: 24 kB / 0.5742 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.4003, allocations: 1.699 MB / 0.5759 GB, free: 11.2 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.007568/0.4078, allocations: 4.292 MB / 0.5801 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.4118, allocations: 2.222 MB / 0.5822 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009693/0.4127, allocations: 0.5303 MB / 0.5828 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007859/0.4206, allocations: 5.404 MB / 0.588 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4206, allocations: 43.22 kB / 0.5881 GB, free: 13.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.594e-06/0.4206, allocations: 0 / 0.5881 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01591/0.4365, allocations: 3.58 MB / 0.5916 GB, free: 10.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.4366, allocations: 60.41 kB / 0.5916 GB, free: 10.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.4374, allocations: 0.5862 MB / 0.5922 GB, free: 9.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.157e-05/0.4375, allocations: 41.7 kB / 0.5923 GB, free: 9.418 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.4379, allocations: 0.5467 MB / 0.5928 GB, free: 8.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.4382, allocations: 353.1 kB / 0.5931 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.4386, allocations: 234.8 kB / 0.5933 GB, free: 8.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.4388, allocations: 398.7 kB / 0.5937 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.4395, allocations: 358.5 kB / 0.5941 GB, free: 7.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.4406, allocations: 0.7518 MB / 0.5948 GB, free: 6.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.4425, allocations: 1.2 MB / 0.596 GB, free: 5.223 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4425, allocations: 4 kB / 0.596 GB, free: 5.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004414/0.4469, allocations: 1.471 MB / 0.5974 GB, free: 3.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.447, allocations: 11.98 kB / 0.5974 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.447, allocations: 16 kB / 0.5974 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.449, allocations: 238.1 kB / 0.5977 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.4506, allocations: 327.5 kB / 0.598 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.4566, allocations: 3.87 MB / 0.6018 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/0.4576, allocations: 44.06 kB / 0.6018 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.4577, allocations: 67.92 kB / 0.6019 GB, free: 14.89 MB / 462.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.0005313/0.4582, allocations: 273.6 kB / 0.6021 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.4584, allocations: 95.38 kB / 0.6022 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004352/0.4628, allocations: 1.331 MB / 0.6035 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4628, allocations: 12 kB / 0.6035 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4628, allocations: 4 kB / 0.6035 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4628, allocations: 3.984 kB / 0.6035 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.4644, allocations: 1.07 MB / 0.6046 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4644, allocations: 0 / 0.6046 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.4657, allocations: 215.9 kB / 0.6048 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.4677, allocations: 229.5 kB / 0.605 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/0.4678, allocations: 35.92 kB / 0.605 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.4734, allocations: 3.768 MB / 0.6087 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4734, allocations: 7.969 kB / 0.6087 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.4781, allocations: 1.737 MB / 0.6104 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.4783, allocations: 164.5 kB / 0.6106 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.4784, allocations: 16 kB / 0.6106 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.479, allocations: 20 kB / 0.6106 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.4792, allocations: 96.7 kB / 0.6107 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.4793, allocations: 40.11 kB / 0.6107 GB, free: 5.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.4798, allocations: 387.1 kB / 0.6111 GB, free: 4.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4798, allocations: 0 / 0.6111 GB, free: 4.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002048/0.4819, allocations: 0.6818 MB / 0.6118 GB, free: 4.301 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.006454/0.4883, allocations: 3.01 MB / 0.6147 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.4906, allocations: 1.196 MB / 0.6159 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4907, allocations: 0 / 0.6159 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.4919, allocations: 0.6947 MB / 0.6166 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.493, allocations: 207 kB / 0.6168 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.5091, allocations: 8.449 MB / 0.625 GB, free: 6.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/0.5098, allocations: 1.034 MB / 0.626 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000827/0.5106, allocations: 230.5 kB / 0.6262 GB, free: 4.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/0.5113, allocations: 472.8 kB / 0.6267 GB, free: 4.406 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5113, allocations: 0 / 0.6267 GB, free: 4.406 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07299/0.5843, allocations: 32.69 MB / 0.6586 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.23, allocations: 3.984 kB / 0.6586 GB, free: 3.957 MB / 0.4981 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 17.998072998132557] Failed to read output from testmodel.py, exit status != 0: 15.344023980898783 15.367413771 14.97545711 Calling exit ...