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.001325/0.001325, allocations: 103.6 kB / 16.45 MB, free: 6.449 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.001472/0.001472, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.1352/0.1352, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002056/0.002056, allocations: 71.91 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 59.8 MB / 0.5135 GB, free: 8.898 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.03701/0.3426, allocations: 26.64 MB / 0.5395 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02105/0.3637, allocations: 16.76 MB / 0.5559 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/0.3647, allocations: 23.81 kB / 0.5559 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3659, allocations: 337.2 kB / 0.5562 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004644/0.3705, allocations: 1.483 MB / 0.5577 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005598/0.3761, allocations: 2.01 MB / 0.5596 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.3785, allocations: 1.55 MB / 0.5611 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.3797, allocations: 0.71 MB / 0.5618 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.3809, allocations: 0.7766 MB / 0.5626 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.3825, allocations: 0.868 MB / 0.5634 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.3828, allocations: 136 kB / 0.5636 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.3883, allocations: 1.809 MB / 0.5653 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.3888, allocations: 323 kB / 0.5656 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009571/0.3898, allocations: 0.6884 MB / 0.5663 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007439/0.3972, allocations: 3.451 MB / 0.5697 GB, free: 1.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3972, allocations: 0 / 0.5697 GB, free: 1.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3972, allocations: 0 / 0.5697 GB, free: 1.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.319e-05/0.3973, allocations: 0 / 0.5697 GB, free: 1.719 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.004063/0.4013, allocations: 1.848 MB / 0.5715 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4014, allocations: 12.03 kB / 0.5715 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/0.4016, allocations: 161.1 kB / 0.5716 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.403, allocations: 275.5 kB / 0.5719 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.4042, allocations: 0.6846 MB / 0.5726 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4044, allocations: 108.4 kB / 0.5727 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.4046, allocations: 120.3 kB / 0.5728 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.4071, allocations: 1.337 MB / 0.5741 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4072, allocations: 0 / 0.5741 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4073, allocations: 47.98 kB / 0.5741 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.4073, allocations: 24 kB / 0.5742 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.4103, allocations: 1.699 MB / 0.5758 GB, free: 11.25 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.007461/0.4178, allocations: 4.296 MB / 0.58 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.4216, allocations: 2.214 MB / 0.5822 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.4226, allocations: 0.5303 MB / 0.5827 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007579/0.4302, allocations: 5.412 MB / 0.588 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.4302, allocations: 35.22 kB / 0.588 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.474e-06/0.4302, allocations: 4 kB / 0.588 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01564/0.4458, allocations: 3.577 MB / 0.5915 GB, free: 10.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.4459, allocations: 64.41 kB / 0.5916 GB, free: 10.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.4467, allocations: 0.5862 MB / 0.5921 GB, free: 9.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.4467, allocations: 45.7 kB / 0.5922 GB, free: 9.465 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.4471, allocations: 0.5467 MB / 0.5927 GB, free: 8.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.4475, allocations: 345.1 kB / 0.5931 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/0.4478, allocations: 234.8 kB / 0.5933 GB, free: 8.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.448, allocations: 394.7 kB / 0.5937 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.4487, allocations: 358.5 kB / 0.594 GB, free: 7.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.4497, allocations: 0.7557 MB / 0.5947 GB, free: 6.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.4516, allocations: 1.204 MB / 0.5959 GB, free: 5.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4516, allocations: 4 kB / 0.5959 GB, free: 5.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004402/0.456, allocations: 1.467 MB / 0.5973 GB, free: 3.785 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4561, allocations: 12.19 kB / 0.5974 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.4561, allocations: 16 kB / 0.5974 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.4582, allocations: 241.4 kB / 0.5976 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.4598, allocations: 331.5 kB / 0.5979 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.4658, allocations: 3.867 MB / 0.6017 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.4667, allocations: 40 kB / 0.6017 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.4669, allocations: 63.98 kB / 0.6018 GB, free: 14.95 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.000515/0.4674, allocations: 273.4 kB / 0.6021 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.4677, allocations: 99.39 kB / 0.6022 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/0.4721, allocations: 1.339 MB / 0.6035 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.4721, allocations: 8.141 kB / 0.6035 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4721, allocations: 0 / 0.6035 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.4721, allocations: 7.969 kB / 0.6035 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4739, allocations: 1.074 MB / 0.6045 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4739, allocations: 0 / 0.6045 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.4752, allocations: 215.8 kB / 0.6047 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.4772, allocations: 229.5 kB / 0.6049 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.4773, allocations: 35.92 kB / 0.605 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005846/0.4832, allocations: 3.76 MB / 0.6087 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4832, allocations: 4.031 kB / 0.6087 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.488, allocations: 1.744 MB / 0.6104 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.4883, allocations: 164.5 kB / 0.6105 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.4885, allocations: 20.12 kB / 0.6105 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.4891, allocations: 23.94 kB / 0.6106 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.4893, allocations: 88.77 kB / 0.6106 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-05/0.4894, allocations: 39.98 kB / 0.6107 GB, free: 5.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005552/0.4899, allocations: 387.1 kB / 0.6111 GB, free: 5.035 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4899, allocations: 0 / 0.6111 GB, free: 5.035 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00213/0.4921, allocations: 0.6857 MB / 0.6117 GB, free: 4.348 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.006837/0.4989, allocations: 3.006 MB / 0.6147 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.5014, allocations: 1.196 MB / 0.6158 GB, free: 72 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5014, allocations: 0 / 0.6158 GB, free: 72 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.5027, allocations: 0.6942 MB / 0.6165 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5038, allocations: 211.2 kB / 0.6167 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.5211, allocations: 8.442 MB / 0.6249 GB, free: 6.203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/0.522, allocations: 1.041 MB / 0.626 GB, free: 5.133 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008801/0.5228, allocations: 226.5 kB / 0.6262 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.5236, allocations: 469.3 kB / 0.6266 GB, free: 4.457 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5236, allocations: 0 / 0.6266 GB, free: 4.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08009/0.6037, allocations: 32.68 MB / 0.6585 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.57, allocations: 0 / 0.6585 GB, free: 4.012 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.2805516901426] Failed to read output from testmodel.py, exit status != 0: 15.683447207091376 15.70943467 15.30723109 Calling exit ...