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.0008803/0.0008803, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0008218/0.0008218, allocations: 169.8 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.8874/0.8874, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.1029/0.1029, allocations: 17.37 MB / 277.4 MB, free: 11.88 MB / 266.7 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [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.0008609/0.0008609, allocations: 75.84 kB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2603, allocations: 59.83 MB / 472.7 MB, free: 29.84 MB / 410.7 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.03306/0.2933, allocations: 26.34 MB / 499 MB, free: 19.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3045, allocations: 14.73 MB / 0.5017 GB, free: 7.359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.3055, allocations: 15.88 kB / 0.5017 GB, free: 7.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.3064, allocations: 308.2 kB / 0.502 GB, free: 7.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.3108, allocations: 1.471 MB / 0.5034 GB, free: 5.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004989/0.3158, allocations: 2.03 MB / 0.5054 GB, free: 4.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.3179, allocations: 1.55 MB / 0.5069 GB, free: 2.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.3187, allocations: 0.689 MB / 0.5076 GB, free: 2.266 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009312/0.3196, allocations: 1.114 MB / 0.5087 GB, free: 1.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.3204, allocations: 0.77 MB / 0.5095 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3205, allocations: 132 kB / 0.5096 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.3252, allocations: 1.722 MB / 0.5113 GB, free: 15.12 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.3255, allocations: 332.4 kB / 0.5116 GB, free: 14.85 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.3261, allocations: 0.5753 MB / 0.5121 GB, free: 14.33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008289/0.3344, allocations: 3.472 MB / 0.5155 GB, free: 11.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3344, allocations: 0 / 0.5155 GB, free: 11.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3344, allocations: 0 / 0.5155 GB, free: 11.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.3345, allocations: 3.938 kB / 0.5155 GB, free: 11.53 MB / 426.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.002801/0.3373, allocations: 1.776 MB / 0.5173 GB, free: 9.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3373, allocations: 8.031 kB / 0.5173 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/0.3382, allocations: 279.5 kB / 0.5175 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.339, allocations: 0.6056 MB / 0.5181 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3391, allocations: 138.8 kB / 0.5183 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.3392, allocations: 120.9 kB / 0.5184 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.341, allocations: 1.331 MB / 0.5197 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.341, allocations: 0 / 0.5197 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.3411, allocations: 48 kB / 0.5197 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3411, allocations: 28 kB / 0.5198 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.3429, allocations: 1.677 MB / 0.5214 GB, free: 5.98 MB / 426.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.004279/0.3471, allocations: 3.38 MB / 0.5247 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.3493, allocations: 1.874 MB / 0.5265 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.3499, allocations: 0.5338 MB / 0.527 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003838/0.3537, allocations: 2.79 MB / 0.5298 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3537, allocations: 51.16 kB / 0.5298 GB, free: 13.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.3537, allocations: 0 / 0.5298 GB, free: 13.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.007773/0.3615, allocations: 3.418 MB / 0.5332 GB, free: 9.777 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3615, allocations: 60.41 kB / 0.5332 GB, free: 9.707 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.362, allocations: 0.5701 MB / 0.5338 GB, free: 9.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.3621, allocations: 45.69 kB / 0.5338 GB, free: 9.074 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.3623, allocations: 0.5584 MB / 0.5344 GB, free: 8.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3625, allocations: 353 kB / 0.5347 GB, free: 8.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.3627, allocations: 230.8 kB / 0.5349 GB, free: 7.926 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3629, allocations: 390.8 kB / 0.5353 GB, free: 7.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.3633, allocations: 358.5 kB / 0.5356 GB, free: 7.188 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.3638, allocations: 0.7477 MB / 0.5364 GB, free: 6.262 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3649, allocations: 1.204 MB / 0.5375 GB, free: 4.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3649, allocations: 4 kB / 0.5375 GB, free: 4.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002179/0.3671, allocations: 1.475 MB / 0.539 GB, free: 3.387 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3671, allocations: 12 kB / 0.539 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.3671, allocations: 16 kB / 0.539 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/0.3681, allocations: 246 kB / 0.5392 GB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.3688, allocations: 327.5 kB / 0.5396 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.3724, allocations: 3.595 MB / 0.5431 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.373, allocations: 43.94 kB / 0.5431 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.3731, allocations: 67.92 kB / 0.5432 GB, free: 14.88 MB / 458.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.0004559/0.3736, allocations: 273.4 kB / 0.5434 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3737, allocations: 83.48 kB / 0.5435 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.376, allocations: 1.331 MB / 0.5448 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.376, allocations: 8 kB / 0.5448 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.376, allocations: 4 kB / 0.5448 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.376, allocations: 3.984 kB / 0.5448 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.3769, allocations: 0.8001 MB / 0.5456 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3769, allocations: 0 / 0.5456 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.3776, allocations: 219.9 kB / 0.5458 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008985/0.3785, allocations: 221.4 kB / 0.546 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.3785, allocations: 35.98 kB / 0.5461 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.3816, allocations: 3.488 MB / 0.5495 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3816, allocations: 3.984 kB / 0.5495 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.3843, allocations: 1.733 MB / 0.5512 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.3845, allocations: 79.48 kB / 0.5512 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.3846, allocations: 16 kB / 0.5513 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.3848, allocations: 23.94 kB / 0.5513 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.385, allocations: 88.78 kB / 0.5514 GB, free: 6.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.3851, allocations: 39.98 kB / 0.5514 GB, free: 6.137 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003586/0.3854, allocations: 367.1 kB / 0.5518 GB, free: 5.785 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 0.5518 GB, free: 5.785 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001709/0.3872, allocations: 0.6779 MB / 0.5524 GB, free: 5.105 MB / 458.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.001237/0.3884, allocations: 0.8197 MB / 0.5532 GB, free: 4.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.39, allocations: 1.192 MB / 0.5544 GB, free: 3.059 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.39, allocations: 0 / 0.5544 GB, free: 3.059 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.3907, allocations: 0.7021 MB / 0.5551 GB, free: 2.332 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.3914, allocations: 191.5 kB / 0.5552 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.394, allocations: 2.013 MB / 0.5572 GB, free: 88 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3943, allocations: 451.4 kB / 0.5576 GB, free: 15.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005495/0.3948, allocations: 225.9 kB / 0.5579 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.3951, allocations: 160.2 kB / 0.558 GB, free: 15.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3951, allocations: 0 / 0.558 GB, free: 15.24 MB / 474.7 MB Notification: Performance of Templates: time 0.02499/0.4201, allocations: 23.96 MB / 0.5814 GB, free: 7.473 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.7237563229864463] Failed to read output from testmodel.py, exit status != 0: 0.4260006439872086 0.434954512 0.09860165800000001 Calling exit ...