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.0009589/0.0009589, allocations: 93.06 kB / 19.65 MB, free: 280 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.001762/0.001762, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.1026/0.1026, allocations: 17.46 MB / 277.4 MB, free: 11.57 MB / 266.7 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.182e-05, allocations: 9.203 kB / 353.6 MB, free: 9.848 MB / 282.7 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.04051/0.04055, allocations: 29.26 MB / 382.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.04695, allocations: 6.254 MB / 389.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/0.04757, allocations: 19.81 kB / 389.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.04807, allocations: 190.2 kB / 389.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.04987, allocations: 0.8572 MB / 390.1 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.05161, allocations: 0.8517 MB / 391 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.05314, allocations: 1.595 MB / 392.6 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.05394, allocations: 0.731 MB / 393.3 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.05489, allocations: 1.069 MB / 394.4 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007961/0.05569, allocations: 0.7211 MB / 395.1 MB, free: 376 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.05588, allocations: 136 kB / 395.2 MB, free: 240 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.05714, allocations: 0.5811 MB / 395.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.05736, allocations: 338.9 kB / 396.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.05779, allocations: 0.5028 MB / 396.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.06032, allocations: 1.716 MB / 398.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.06032, allocations: 0 / 398.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06032, allocations: 0 / 398.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.06035, allocations: 0 / 398.4 MB, free: 13.09 MB / 330.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.002361/0.06271, allocations: 1.637 MB / 400 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.06275, allocations: 11.97 kB / 400 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.06387, allocations: 454.3 kB / 400.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/0.06478, allocations: 0.6147 MB / 401.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.06491, allocations: 134.1 kB / 401.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.06509, allocations: 120.3 kB / 401.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.06674, allocations: 1.076 MB / 402.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.06676, allocations: 192 / 402.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.06686, allocations: 48.12 kB / 402.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.06689, allocations: 28 kB / 402.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.06898, allocations: 1.117 MB / 403.6 MB, free: 7.719 MB / 330.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.004867/0.07385, allocations: 3.325 MB / 406.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.07687, allocations: 2.063 MB / 409 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.07743, allocations: 369.5 kB / 409.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1557/0.2332, allocations: 2.207 MB / 411.5 MB, free: 51.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2332, allocations: 41.73 kB / 411.6 MB, free: 51.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.2332, allocations: 3.5 kB / 411.6 MB, free: 51.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.007628/0.2408, allocations: 2.974 MB / 414.6 MB, free: 50.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.2409, allocations: 61.88 kB / 414.6 MB, free: 50.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.2416, allocations: 0.6094 MB / 415.2 MB, free: 50.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.2417, allocations: 42.2 kB / 415.3 MB, free: 50.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.2421, allocations: 0.6005 MB / 415.9 MB, free: 50.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2423, allocations: 346.9 kB / 416.2 MB, free: 49.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.2426, allocations: 241.8 kB / 416.4 MB, free: 49.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2428, allocations: 0.5671 MB / 417 MB, free: 49.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.2432, allocations: 228.9 kB / 417.2 MB, free: 49.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.2438, allocations: 0.7819 MB / 418 MB, free: 48.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2449, allocations: 1.113 MB / 419.1 MB, free: 48.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2449, allocations: 4.25 kB / 419.1 MB, free: 48.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002528/0.2474, allocations: 1.259 MB / 420.4 MB, free: 47.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.2474, allocations: 13.31 kB / 420.4 MB, free: 47.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.2475, allocations: 17.52 kB / 420.4 MB, free: 47.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.249, allocations: 338.3 kB / 420.8 MB, free: 47.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.2499, allocations: 328.5 kB / 421.1 MB, free: 47.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.2527, allocations: 4.366 MB / 425.4 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.2533, allocations: 38.88 kB / 425.5 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.2534, allocations: 68.12 kB / 425.5 MB, free: 44 MB / 330.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.0002944/0.2537, allocations: 247.2 kB / 425.8 MB, free: 43.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.2538, allocations: 115.2 kB / 425.9 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.2558, allocations: 1.108 MB / 427 MB, free: 43.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.2558, allocations: 8.75 kB / 427 MB, free: 43.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2558, allocations: 8.531 kB / 427 MB, free: 43.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.2558, allocations: 5.438 kB / 427 MB, free: 43.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007824/0.2566, allocations: 0.7505 MB / 427.8 MB, free: 43.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.2566, allocations: 3.938 kB / 427.8 MB, free: 43.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.2571, allocations: 215 kB / 428 MB, free: 43.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.2584, allocations: 331.8 kB / 428.3 MB, free: 43.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.2585, allocations: 33.16 kB / 428.4 MB, free: 43.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.2607, allocations: 4.277 MB / 432.6 MB, free: 39.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2607, allocations: 2.906 kB / 432.6 MB, free: 39.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.2627, allocations: 1.384 MB / 434 MB, free: 38.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.2628, allocations: 74.94 kB / 434.1 MB, free: 38.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.2629, allocations: 21.34 kB / 434.1 MB, free: 38.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2631, allocations: 20.83 kB / 434.1 MB, free: 38.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.2632, allocations: 84.78 kB / 434.2 MB, free: 38.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.2633, allocations: 41.98 kB / 434.3 MB, free: 38.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.2635, allocations: 361.2 kB / 434.6 MB, free: 38.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2635, allocations: 3.75 kB / 434.6 MB, free: 38.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001109/0.2647, allocations: 405.7 kB / 435 MB, free: 38.5 MB / 330.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.0004906/0.2651, allocations: 336 kB / 435.3 MB, free: 38.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.2664, allocations: 1.128 MB / 436.5 MB, free: 37.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2664, allocations: 2.625 kB / 436.5 MB, free: 37.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.2669, allocations: 0.7377 MB / 437.2 MB, free: 37.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.2675, allocations: 223.1 kB / 437.4 MB, free: 37.45 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2699, allocations: 1.837 MB / 439.3 MB, free: 36.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.2701, allocations: 202.4 kB / 439.5 MB, free: 36.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004659/0.2705, allocations: 221.5 kB / 439.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.2707, allocations: 165 kB / 439.8 MB, free: 36.21 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2707, allocations: 0 / 439.8 MB, free: 36.21 MB / 330.7 MB Notification: Performance of Templates: time 0.01908/0.2898, allocations: 18.9 MB / 458.7 MB, free: 18.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.526327421888709]