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.001274/0.001274, 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.001442/0.001442, allocations: 215.4 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.77 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.1346/0.1346, allocations: 23.93 MB / 336.4 MB, free: 10.91 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.001964/0.001964, allocations: 67.89 kB / 471.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3147, allocations: 59.88 MB / 0.5186 GB, free: 9.488 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.06842/0.3831, allocations: 26.09 MB / 0.5441 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.4031, allocations: 14.72 MB / 0.5585 GB, free: 28 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.4042, allocations: 15.88 kB / 0.5585 GB, free: 12 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.4053, allocations: 305.3 kB / 0.5588 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.4099, allocations: 1.471 MB / 0.5602 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005791/0.4157, allocations: 2.022 MB / 0.5622 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.4182, allocations: 1.547 MB / 0.5637 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.4192, allocations: 0.7004 MB / 0.5644 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.4202, allocations: 0.7885 MB / 0.5651 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.4215, allocations: 0.8605 MB / 0.566 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.4217, allocations: 136 kB / 0.5661 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/0.4268, allocations: 1.743 MB / 0.5678 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.4272, allocations: 327 kB / 0.5681 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.428, allocations: 0.5758 MB / 0.5687 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00759/0.4356, allocations: 3.443 MB / 0.5721 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4356, allocations: 0 / 0.5721 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4356, allocations: 0 / 0.5721 GB, free: 3.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.4356, allocations: 0 / 0.5721 GB, free: 3.047 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.003703/0.4393, allocations: 1.78 MB / 0.5738 GB, free: 1.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4394, allocations: 8.031 kB / 0.5738 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.4396, allocations: 165 kB / 0.574 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.4408, allocations: 275.8 kB / 0.5742 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.442, allocations: 0.6126 MB / 0.5748 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4422, allocations: 134.2 kB / 0.575 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.4424, allocations: 120.3 kB / 0.5751 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.4446, allocations: 1.333 MB / 0.5764 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4446, allocations: 0 / 0.5764 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.4448, allocations: 44 kB / 0.5764 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.4448, allocations: 28 kB / 0.5764 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.4475, allocations: 1.679 MB / 0.5781 GB, free: 12.74 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.006896/0.4544, allocations: 3.522 MB / 0.5815 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.4579, allocations: 1.867 MB / 0.5833 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008614/0.4587, allocations: 0.5338 MB / 0.5839 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006283/0.465, allocations: 2.791 MB / 0.5866 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.465, allocations: 47.22 kB / 0.5866 GB, free: 3.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.835e-06/0.465, allocations: 0 / 0.5866 GB, free: 3.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01661/0.4817, allocations: 3.432 MB / 0.59 GB, free: 380 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4817, allocations: 60.41 kB / 0.59 GB, free: 308 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.4825, allocations: 0.6133 MB / 0.5906 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/0.4825, allocations: 45.7 kB / 0.5907 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.4829, allocations: 0.5428 MB / 0.5912 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.4832, allocations: 353.1 kB / 0.5915 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.4836, allocations: 226.8 kB / 0.5918 GB, free: 14.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4838, allocations: 402.7 kB / 0.5921 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.4844, allocations: 354.5 kB / 0.5925 GB, free: 13.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009486/0.4853, allocations: 0.7477 MB / 0.5932 GB, free: 12.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.487, allocations: 1.2 MB / 0.5944 GB, free: 11.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.487, allocations: 4 kB / 0.5944 GB, free: 11.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004337/0.4914, allocations: 1.475 MB / 0.5958 GB, free: 9.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.4914, allocations: 12 kB / 0.5958 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.4914, allocations: 20.16 kB / 0.5959 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.4937, allocations: 245.4 kB / 0.5961 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.4951, allocations: 327.5 kB / 0.5964 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.5011, allocations: 3.635 MB / 0.6 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/0.502, allocations: 40 kB / 0.6 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.5021, allocations: 68.05 kB / 0.6001 GB, free: 5.395 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.0004891/0.5026, allocations: 277.3 kB / 0.6003 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.5028, allocations: 87.44 kB / 0.6004 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/0.5072, allocations: 1.332 MB / 0.6017 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5072, allocations: 8 kB / 0.6017 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5072, allocations: 0 / 0.6017 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.5072, allocations: 7.984 kB / 0.6017 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.5087, allocations: 0.9127 MB / 0.6026 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5087, allocations: 7.984 kB / 0.6026 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.5099, allocations: 207.8 kB / 0.6028 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/0.512, allocations: 237.7 kB / 0.6031 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.771e-05/0.5121, allocations: 35.92 kB / 0.6031 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/0.5173, allocations: 3.53 MB / 0.6065 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.5173, allocations: 0 / 0.6065 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.5219, allocations: 1.744 MB / 0.6082 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.5221, allocations: 87.36 kB / 0.6083 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5223, allocations: 24 kB / 0.6083 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.5228, allocations: 20 kB / 0.6084 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.523, allocations: 88.72 kB / 0.6084 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.5231, allocations: 39.98 kB / 0.6085 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.5236, allocations: 395.1 kB / 0.6089 GB, free: 12.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5236, allocations: 0 / 0.6089 GB, free: 12.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001924/0.5255, allocations: 0.6779 MB / 0.6095 GB, free: 11.35 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.006505/0.532, allocations: 3.007 MB / 0.6125 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.5343, allocations: 1.183 MB / 0.6136 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5343, allocations: 0 / 0.6136 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.5355, allocations: 0.6993 MB / 0.6143 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.5366, allocations: 213 kB / 0.6145 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.5532, allocations: 8.445 MB / 0.6227 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.5538, allocations: 459.5 kB / 0.6232 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009136/0.5547, allocations: 226.8 kB / 0.6234 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/0.5554, allocations: 481.2 kB / 0.6239 GB, free: 12.04 MB / 478.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5554, allocations: 0 / 0.6239 GB, free: 12.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/0.6341, allocations: 34.45 MB / 0.6575 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.12, allocations: 3.859 kB / 0.6575 GB, free: 9.879 MB / 0.4981 GB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.66702698598965] Failed to read output from testmodel.py, exit status != 0: 14.254370629001642 14.268412345 13.829797638 Calling exit ...