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.0009685/0.0009685, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002314, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001073/0.001073, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002454, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8719/0.8719, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07517/0.9471, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.07719/0.07719, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008748/0.08594, allocations: 6.978 MB / 268.6 MB, free: 6.293 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.052e-06/1.052e-06, allocations: 0 / 269.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.307e-06/1.036e-05, allocations: 2.312 kB / 269.9 MB, free: 4.98 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1114/0.1114, allocations: 9.141 MB / 279 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1241, allocations: 15.21 MB / 294.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007702/0.1248, allocations: 28.31 kB / 294.3 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007519/0.1256, allocations: 445.4 kB / 294.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.1279, allocations: 1.322 MB / 296 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.1317, allocations: 2.248 MB / 298.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.1334, allocations: 2.471 MB / 300.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.1345, allocations: 1.33 MB / 302.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1358, allocations: 1.71 MB / 303.8 MB, free: 380 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009219/0.1367, allocations: 1.04 MB / 304.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.137, allocations: 228 kB / 305 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.1391, allocations: 1.564 MB / 306.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.1394, allocations: 406.8 kB / 307 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.1399, allocations: 0.659 MB / 307.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.1425, allocations: 3.156 MB / 310.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.1425, allocations: 0 / 310.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1425, allocations: 0 / 310.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.1425, allocations: 0 / 310.8 MB, free: 9.312 MB / 298.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.002502/0.145, allocations: 3.097 MB / 313.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.145, allocations: 8.031 kB / 313.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.1462, allocations: 0.8674 MB / 314.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.1471, allocations: 0.7619 MB / 315.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.1472, allocations: 255.2 kB / 315.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.1474, allocations: 192.3 kB / 316 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1487, allocations: 1.659 MB / 317.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.1488, allocations: 3.938 kB / 317.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1489, allocations: 76 kB / 317.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.1489, allocations: 48 kB / 317.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1501, allocations: 1.259 MB / 319 MB, free: 0.9023 MB / 298.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.00507/0.1552, allocations: 5.454 MB / 324.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.1559, allocations: 0.7614 MB / 325.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1562, allocations: 289.2 kB / 325.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.1594, allocations: 2.574 MB / 328.1 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1594, allocations: 43.22 kB / 328.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003485/0.1597, allocations: 175 kB / 328.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 1.883e-06/0.1598, allocations: 0 / 328.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.01212/0.1719, allocations: 5.542 MB / 333.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1719, allocations: 123.7 kB / 334 MB, free: 1.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.1726, allocations: 1.191 MB / 335.2 MB, free: 460 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.1727, allocations: 41.7 kB / 335.2 MB, free: 412 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.173, allocations: 0.9411 MB / 336.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.1732, allocations: 432.4 kB / 336.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.1735, allocations: 403.1 kB / 337 MB, free: 14.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.1736, allocations: 301.1 kB / 337.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.1739, allocations: 250.8 kB / 337.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.1744, allocations: 0.9833 MB / 338.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.1758, allocations: 1.57 MB / 340 MB, free: 10.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1758, allocations: 8 kB / 340.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.002531/0.1783, allocations: 1.666 MB / 341.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1783, allocations: 19.94 kB / 341.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.1783, allocations: 24 kB / 341.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.1806, allocations: 0.899 MB / 342.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.1814, allocations: 0.4914 MB / 343.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.1855, allocations: 5.678 MB / 348.8 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.186, allocations: 83.86 kB / 348.9 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/0.1861, allocations: 95.95 kB / 349 MB, free: 1.543 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 (225): * Single equations (assignments): 220 * 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.0002774/0.1864, allocations: 247.9 kB / 349.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.1866, allocations: 119.8 kB / 349.4 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.1888, allocations: 1.262 MB / 350.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1888, allocations: 12 kB / 350.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1889, allocations: 4 kB / 350.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1889, allocations: 8.016 kB / 350.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.1922, allocations: 2.2 MB / 352.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1922, allocations: 8.047 kB / 352.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/0.1928, allocations: 223.8 kB / 353.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.1929, allocations: 119.1 kB / 353.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.195, allocations: 0.7921 MB / 354 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.195, allocations: 47.95 kB / 354 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.1981, allocations: 5.071 MB / 359.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1981, allocations: 4 kB / 359.1 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.2006, allocations: 1.598 MB / 360.7 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2007, allocations: 24 kB / 360.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.2011, allocations: 31.98 kB / 360.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.2012, allocations: 104.8 kB / 360.9 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.2013, allocations: 43.97 kB / 360.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003763/0.2017, allocations: 0.5829 MB / 361.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2017, allocations: 0 / 361.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001382/0.2031, allocations: 0.7875 MB / 362.3 MB, free: 3.812 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 (89): * Single equations (assignments): 84 * 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.0007687/0.2038, allocations: 0.7243 MB / 363 MB, free: 3.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.2054, allocations: 1.51 MB / 364.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-05/0.2054, allocations: 36.34 kB / 364.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.2062, allocations: 0.8853 MB / 365.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2074, allocations: 1.619 MB / 367.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.2194, allocations: 2.955 MB / 370 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.2196, allocations: 300.4 kB / 370.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000559/0.2202, allocations: 296.3 kB / 370.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.2207, allocations: 365.1 kB / 370.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2207, allocations: 0 / 370.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.03389/0.2546, allocations: 35.23 MB / 406.2 MB, free: 7.727 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.220970628783107]