Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.0009332/0.0009332, allocations: 93.16 kB / 19.65 MB, free: 288 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.001522/0.001522, allocations: 168.9 kB / 23.02 MB, free: 1.559 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.9528/0.9528, allocations: 177.1 MB / 203.4 MB, free: 5.102 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.09518/0.09518, allocations: 17.45 MB / 277.4 MB, free: 11.29 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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.18e-05, allocations: 2.312 kB / 353.6 MB, free: 9.836 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.MethanElectrosynthesis): time 0.02978/0.02981, allocations: 32.82 MB / 386.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.04344, allocations: 15.17 MB / 401.5 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.04435, allocations: 27.81 kB / 401.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008736/0.04522, allocations: 428.2 kB / 402 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.04765, allocations: 1.334 MB / 403.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.05206, allocations: 2.257 MB / 405.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.05422, allocations: 2.475 MB / 408.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.05565, allocations: 1.31 MB / 409.4 MB, free: 1.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.05697, allocations: 1.544 MB / 410.9 MB, free: 448 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1405/0.1974, allocations: 0.9931 MB / 411.9 MB, free: 38.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000995/0.1984, allocations: 232.5 kB / 412.1 MB, free: 38.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.203, allocations: 1.508 MB / 413.6 MB, free: 38.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000512/0.2036, allocations: 0.5553 MB / 414.2 MB, free: 38.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.2051, allocations: 0.8212 MB / 415 MB, free: 38.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.2112, allocations: 3.408 MB / 418.4 MB, free: 38.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2112, allocations: 3.469 kB / 418.4 MB, free: 38.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2112, allocations: 0.9844 kB / 418.4 MB, free: 38.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.467e-05/0.2113, allocations: 0 / 418.4 MB, free: 38.74 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.00402/0.2153, allocations: 2.61 MB / 421 MB, free: 37.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2153, allocations: 12.75 kB / 421 MB, free: 37.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.2169, allocations: 0.8978 MB / 421.9 MB, free: 37.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.2183, allocations: 1.143 MB / 423.1 MB, free: 36.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.2184, allocations: 256.7 kB / 423.3 MB, free: 36.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.2186, allocations: 193.9 kB / 423.5 MB, free: 36.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.2206, allocations: 1.836 MB / 425.4 MB, free: 36.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.2206, allocations: 0 / 425.4 MB, free: 36.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.2207, allocations: 81.09 kB / 425.4 MB, free: 36.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.2207, allocations: 47.09 kB / 425.5 MB, free: 36.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.2228, allocations: 1.701 MB / 427.2 MB, free: 36.42 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.006159/0.229, allocations: 7.003 MB / 434.2 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.23, allocations: 0.8753 MB / 435.1 MB, free: 31.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.2304, allocations: 385 kB / 435.4 MB, free: 31.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00369/0.2341, allocations: 3.192 MB / 438.6 MB, free: 29.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2341, allocations: 41.64 kB / 438.7 MB, free: 29.55 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000383/0.2345, allocations: 187.5 kB / 438.9 MB, free: 29.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.334e-06/0.2345, allocations: 0 / 438.9 MB, free: 29.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01285/0.2474, allocations: 5.832 MB / 444.7 MB, free: 24.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2474, allocations: 123.7 kB / 444.8 MB, free: 24.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.2483, allocations: 1.316 MB / 446.1 MB, free: 23.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.2484, allocations: 45.7 kB / 446.2 MB, free: 23.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.2487, allocations: 1.103 MB / 447.3 MB, free: 21.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.2489, allocations: 438.5 kB / 447.7 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.2493, allocations: 425 kB / 448.1 MB, free: 21.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.2493, allocations: 479.4 kB / 448.6 MB, free: 20.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.2498, allocations: 363.8 kB / 448.9 MB, free: 20.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.2506, allocations: 1.391 MB / 450.3 MB, free: 18.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.252, allocations: 1.905 MB / 452.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.252, allocations: 8 kB / 452.2 MB, free: 16.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003578/0.2556, allocations: 2.223 MB / 454.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2556, allocations: 16 kB / 454.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.2557, allocations: 27.98 kB / 454.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.2583, allocations: 0.9247 MB / 455.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/0.259, allocations: 437.5 kB / 455.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/0.2634, allocations: 8.002 MB / 463.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.2641, allocations: 101.1 kB / 464 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2642, allocations: 118.9 kB / 464.1 MB, free: 4.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003354/0.2645, allocations: 288.1 kB / 464.4 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.2647, allocations: 181.8 kB / 464.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.2676, allocations: 1.61 MB / 466.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.2676, allocations: 14.66 kB / 466.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2677, allocations: 4 kB / 466.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2677, allocations: 7.969 kB / 466.2 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/0.272, allocations: 2.816 MB / 469 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2721, allocations: 6.672 kB / 469 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.2725, allocations: 178.9 kB / 469.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/0.275, allocations: 0.8217 MB / 470 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.007e-05/0.2751, allocations: 39.97 kB / 470 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/0.2797, allocations: 7.376 MB / 477.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2797, allocations: 0 / 477.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.2832, allocations: 2.14 MB / 479.6 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2833, allocations: 119.1 kB / 479.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2834, allocations: 26.66 kB / 479.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.2838, allocations: 31.98 kB / 479.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.284, allocations: 116.7 kB / 479.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.2841, allocations: 59.33 kB / 479.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008956/0.285, allocations: 0.7796 MB / 480.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.285, allocations: 4 kB / 480.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001939/0.2869, allocations: 0.7902 MB / 481.5 MB, free: 2.566 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009525/0.2879, allocations: 0.699 MB / 482.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.2902, allocations: 1.888 MB / 484.1 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2902, allocations: 2.656 kB / 484.1 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.2913, allocations: 1.104 MB / 485.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.2921, allocations: 263.9 kB / 485.4 MB, free: 14.73 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.2961, allocations: 2.95 MB / 488.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2963, allocations: 304.3 kB / 488.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005898/0.2969, allocations: 311.4 kB / 489 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.2972, allocations: 176.4 kB / 489.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2972, allocations: 2.656 kB / 489.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.03136/0.3286, allocations: 31.81 MB / 0.5087 GB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.985064957290888]