Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09648/0.09648, allocations: 15.28 MB / 30.53 MB, free: 3.078 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 186.3 kB / 35.62 MB, free: 2.234 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.7 MB / 266.3 MB, free: 6.043 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 99.22 kB / 321.7 MB, free: 2.199 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 9.828 kB / 387 MB, free: 50.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1503, allocations: 54.64 MB / 441.7 MB, free: 14.88 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65: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.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.04212/0.1925, allocations: 21.9 MB / 463.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03637/0.2289, allocations: 20.37 MB / 483.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.2306, allocations: 23.81 kB / 484 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2323, allocations: 298.3 kB / 484.2 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.2396, allocations: 1.273 MB / 485.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009352/0.249, allocations: 1.741 MB / 487.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003545/0.2526, allocations: 1.49 MB / 488.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.2545, allocations: 0.6974 MB / 489.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.2565, allocations: 0.6816 MB / 490.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.2588, allocations: 0.7902 MB / 490.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004844/0.2593, allocations: 72 kB / 491 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.2695, allocations: 1.63 MB / 492.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007834/0.2703, allocations: 259.1 kB / 492.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.272, allocations: 0.6393 MB / 493.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.2834, allocations: 3.059 MB / 496.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.2835, allocations: 0 / 496.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2835, allocations: 4 kB / 496.6 MB, free: 6.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.888e-05/0.2836, allocations: 0 / 496.6 MB, free: 6.609 MB / 362.7 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.005576/0.2892, allocations: 1.505 MB / 498.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.2892, allocations: 13.72 kB / 498.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.2913, allocations: 263 kB / 498.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.2932, allocations: 0.6336 MB / 499 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.2934, allocations: 116.4 kB / 499.1 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.2939, allocations: 112.3 kB / 499.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/0.298, allocations: 1.321 MB / 0.4888 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.298, allocations: 7.938 kB / 0.4888 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.2983, allocations: 44 kB / 0.4888 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.2983, allocations: 24 kB / 0.4889 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004852/0.3032, allocations: 1.695 MB / 0.4905 GB, free: 0.7305 MB / 362.7 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.01142/0.3147, allocations: 4.244 MB / 0.4947 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/0.3207, allocations: 2.271 MB / 0.4969 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.3224, allocations: 0.5927 MB / 0.4975 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.3336, allocations: 5.279 MB / 0.5026 GB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.3337, allocations: 39.22 kB / 0.5027 GB, free: 3.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 3.487e-06/0.3337, allocations: 0 / 0.5027 GB, free: 3.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.2052/0.5389, allocations: 3.609 MB / 0.5062 GB, free: 69.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.5389, allocations: 61.69 kB / 0.5062 GB, free: 69.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.5397, allocations: 0.5832 MB / 0.5068 GB, free: 69.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.5398, allocations: 40.14 kB / 0.5069 GB, free: 69.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.5401, allocations: 0.5279 MB / 0.5074 GB, free: 69.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.5404, allocations: 340.8 kB / 0.5077 GB, free: 69.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.5404, allocations: 28.41 kB / 0.5077 GB, free: 69.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5406, allocations: 400.2 kB / 0.5081 GB, free: 68.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.5411, allocations: 348 kB / 0.5084 GB, free: 68.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.5419, allocations: 0.7451 MB / 0.5092 GB, free: 68.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5432, allocations: 1.194 MB / 0.5103 GB, free: 67.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.5432, allocations: 4.719 kB / 0.5103 GB, free: 67.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004147/0.5473, allocations: 1.469 MB / 0.5118 GB, free: 67.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5474, allocations: 14.94 kB / 0.5118 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.5474, allocations: 15.06 kB / 0.5118 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.5495, allocations: 259.8 kB / 0.512 GB, free: 67.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5509, allocations: 327.3 kB / 0.5124 GB, free: 67.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.5561, allocations: 3.501 MB / 0.5158 GB, free: 64.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009631/0.5571, allocations: 71.66 kB / 0.5158 GB, free: 64.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.5572, allocations: 69.03 kB / 0.5159 GB, free: 64.78 MB / 378.7 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.0003636/0.5576, allocations: 277.9 kB / 0.5162 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.5577, allocations: 88.02 kB / 0.5163 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.5621, allocations: 1.338 MB / 0.5176 GB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5621, allocations: 10.75 kB / 0.5176 GB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5621, allocations: 0 / 0.5176 GB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.5621, allocations: 6.328 kB / 0.5176 GB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.5636, allocations: 1.061 MB / 0.5186 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5636, allocations: 3.375 kB / 0.5186 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.5648, allocations: 218.8 kB / 0.5188 GB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/0.567, allocations: 249 kB / 0.5191 GB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.5671, allocations: 32.25 kB / 0.5191 GB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.5714, allocations: 3.418 MB / 0.5224 GB, free: 61.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5714, allocations: 0.9688 kB / 0.5224 GB, free: 61.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.5757, allocations: 1.741 MB / 0.5241 GB, free: 61.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.5759, allocations: 153.8 kB / 0.5243 GB, free: 61.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.576, allocations: 23.34 kB / 0.5243 GB, free: 61.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.5766, allocations: 37.77 kB / 0.5243 GB, free: 61.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.5768, allocations: 82.59 kB / 0.5244 GB, free: 61.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.5769, allocations: 39.83 kB / 0.5245 GB, free: 61.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.5773, allocations: 385.5 kB / 0.5248 GB, free: 61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5774, allocations: 0 / 0.5248 GB, free: 61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001957/0.5793, allocations: 0.6514 MB / 0.5255 GB, free: 60.97 MB / 378.7 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.001228/0.5806, allocations: 0.7854 MB / 0.5262 GB, free: 60.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.5825, allocations: 1.244 MB / 0.5274 GB, free: 60.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5825, allocations: 0.9688 kB / 0.5274 GB, free: 60.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.5835, allocations: 0.7428 MB / 0.5282 GB, free: 60.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.5845, allocations: 189.8 kB / 0.5283 GB, free: 59.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.5879, allocations: 2.527 MB / 0.5308 GB, free: 58.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.5885, allocations: 1.039 MB / 0.5318 GB, free: 57.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.5896, allocations: 236.4 kB / 0.5321 GB, free: 57.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.5899, allocations: 158.9 kB / 0.5322 GB, free: 57.76 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.59, allocations: 0 / 0.5322 GB, free: 57.76 MB / 378.7 MB Notification: Performance of Templates: time 0.02696/0.6169, allocations: 22.3 MB / 0.554 GB, free: 41.57 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile (rm -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1)