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.001262/0.001262, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001003/0.001003, allocations: 169 kB / 23.28 MB, free: 1.219 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.9915/0.9915, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.09144/0.09144, allocations: 17.46 MB / 277.7 MB, free: 11.41 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 1.553e-06/1.553e-06, allocations: 0 / 354 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.723e-05, allocations: 6.25 kB / 354 MB, free: 9.559 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.02751/0.02754, allocations: 32.7 MB / 386.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.04091, allocations: 14.83 MB / 401.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009765/0.04189, allocations: 31.75 kB / 401.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.0427, allocations: 432.3 kB / 402 MB, free: 9.633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.04518, allocations: 1.338 MB / 403.3 MB, free: 8.285 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.04878, allocations: 2.257 MB / 405.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.05048, allocations: 2.483 MB / 408.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009548/0.05143, allocations: 1.295 MB / 409.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.05277, allocations: 1.607 MB / 411 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1181/0.1708, allocations: 1.025 MB / 412 MB, free: 39.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006315/0.1715, allocations: 230.8 kB / 412.2 MB, free: 39.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.1744, allocations: 1.508 MB / 413.7 MB, free: 39.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.1748, allocations: 0.5587 MB / 414.3 MB, free: 39.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007871/0.1756, allocations: 0.8307 MB / 415.1 MB, free: 39.17 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.179, allocations: 3.457 MB / 418.6 MB, free: 38.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.179, allocations: 0 / 418.6 MB, free: 38.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.179, allocations: 0 / 418.6 MB, free: 38.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.558e-05/0.1791, allocations: 2.688 kB / 418.6 MB, free: 38.95 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.002932/0.182, allocations: 2.635 MB / 421.2 MB, free: 37.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1821, allocations: 11.91 kB / 421.2 MB, free: 37.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1833, allocations: 0.8434 MB / 422.1 MB, free: 37.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/0.1842, allocations: 0.9737 MB / 423 MB, free: 37.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1843, allocations: 250.5 kB / 423.3 MB, free: 37.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.1845, allocations: 196.2 kB / 423.5 MB, free: 37.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1859, allocations: 1.676 MB / 425.2 MB, free: 36.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1859, allocations: 3.188 kB / 425.2 MB, free: 36.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1861, allocations: 84.19 kB / 425.2 MB, free: 36.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.1861, allocations: 50.72 kB / 425.3 MB, free: 36.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1874, allocations: 1.44 MB / 426.7 MB, free: 36.64 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.005366/0.1927, allocations: 7.036 MB / 433.8 MB, free: 32.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.1935, allocations: 0.7887 MB / 434.6 MB, free: 32.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.1937, allocations: 332.2 kB / 434.9 MB, free: 32.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003343/0.1971, allocations: 3.21 MB / 438.1 MB, free: 30.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1971, allocations: 53.03 kB / 438.1 MB, free: 30.64 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003622/0.1975, allocations: 175.5 kB / 438.3 MB, free: 30.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.084e-06/0.1975, allocations: 0 / 438.3 MB, free: 30.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01069/0.2082, allocations: 4.753 MB / 443.1 MB, free: 26.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2082, allocations: 119.8 kB / 443.2 MB, free: 26.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.2089, allocations: 1.27 MB / 444.4 MB, free: 25.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.2089, allocations: 44.39 kB / 444.5 MB, free: 25.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.2092, allocations: 1.113 MB / 445.6 MB, free: 24.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.2094, allocations: 441.7 kB / 446 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.2097, allocations: 426 kB / 446.5 MB, free: 23.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.2098, allocations: 476.8 kB / 446.9 MB, free: 23.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.2101, allocations: 295 kB / 447.2 MB, free: 22.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.2107, allocations: 1.322 MB / 448.5 MB, free: 21.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.2117, allocations: 1.785 MB / 450.3 MB, free: 19.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2117, allocations: 8 kB / 450.3 MB, free: 19 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002997/0.2147, allocations: 2.036 MB / 452.4 MB, free: 17.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2147, allocations: 16 kB / 452.4 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.2148, allocations: 24 kB / 452.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.2171, allocations: 0.9089 MB / 453.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.2178, allocations: 431.3 kB / 453.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.2218, allocations: 7.868 MB / 461.6 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.2225, allocations: 90.53 kB / 461.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/0.2226, allocations: 108 kB / 461.8 MB, free: 7.512 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.0002906/0.2229, allocations: 293.4 kB / 462.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.2231, allocations: 179.1 kB / 462.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.2254, allocations: 1.479 MB / 463.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2255, allocations: 12 kB / 463.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2255, allocations: 11.92 kB / 463.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2255, allocations: 6.797 kB / 463.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.229, allocations: 2.729 MB / 466.5 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.229, allocations: 4 kB / 466.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.2294, allocations: 176 kB / 466.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.2315, allocations: 0.8123 MB / 467.5 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.2315, allocations: 39.97 kB / 467.5 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.2352, allocations: 7.241 MB / 474.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2352, allocations: 0 / 474.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.2383, allocations: 1.963 MB / 476.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.2384, allocations: 131 kB / 476.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2385, allocations: 24 kB / 476.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.2389, allocations: 31.92 kB / 476.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.2392, allocations: 123.2 kB / 477 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.2392, allocations: 39.97 kB / 477.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005017/0.2397, allocations: 0.6956 MB / 477.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2397, allocations: 0 / 477.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002302/0.242, allocations: 0.7876 MB / 478.5 MB, free: 6.836 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.001164/0.2432, allocations: 0.7336 MB / 479.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.2451, allocations: 1.755 MB / 481 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2451, allocations: 2.734 kB / 481 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009206/0.2461, allocations: 1.041 MB / 482.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.2469, allocations: 283.4 kB / 482.4 MB, free: 3.195 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.2507, allocations: 2.887 MB / 485.2 MB, free: 372 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2509, allocations: 311.9 kB / 485.5 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005992/0.2515, allocations: 291.2 kB / 485.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.252, allocations: 406 kB / 486.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.252, allocations: 0 / 486.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Templates: time 0.03698/0.289, allocations: 35.29 MB / 0.5093 GB, free: 13.18 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.8582937479950488]