Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.0008057/0.0008057, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001922, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006854/0.0006854, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008879/0.001573, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9683/0.9683, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08535/1.054, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.08644/0.08644, allocations: 17.37 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01155/0.098, allocations: 6.925 MB / 268.3 MB, free: 6.531 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 269.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.589e-05, allocations: 2.312 kB / 269.5 MB, free: 5.254 MB / 266.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.H2O_ElectrochemicalCell): time 0.1553/0.1553, allocations: 8.076 MB / 277.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1692, allocations: 14.69 MB / 292.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1703, allocations: 29.5 kB / 292.3 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008521/0.1712, allocations: 406.4 kB / 292.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1741, allocations: 1.196 MB / 293.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006298/0.1804, allocations: 2.174 MB / 296.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004462/0.1849, allocations: 2.16 MB / 298.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.1864, allocations: 1.137 MB / 299.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/0.1923, allocations: 1.488 MB / 300.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.1945, allocations: 0.9078 MB / 301.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.195, allocations: 200 kB / 302 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.1993, allocations: 1.532 MB / 303.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.1997, allocations: 358.9 kB / 303.9 MB, free: 368 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000781/0.2005, allocations: 0.5732 MB / 304.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.2044, allocations: 2.935 MB / 307.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.626e-05/0.2044, allocations: 0 / 307.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2044, allocations: 0 / 307.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.745e-05/0.2045, allocations: 0 / 307.4 MB, free: 12.84 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.002469/0.2069, allocations: 2.768 MB / 310.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.207, allocations: 11.97 kB / 310.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.208, allocations: 0.7504 MB / 310.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.2089, allocations: 0.6688 MB / 311.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.209, allocations: 238.7 kB / 311.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.2091, allocations: 168.4 kB / 312 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2104, allocations: 1.434 MB / 313.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.2104, allocations: 7.938 kB / 313.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.2105, allocations: 64 kB / 313.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2105, allocations: 47.98 kB / 313.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2116, allocations: 1.095 MB / 314.6 MB, free: 5.402 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.004671/0.2163, allocations: 4.788 MB / 319.4 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.2169, allocations: 0.6963 MB / 320.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2172, allocations: 250 kB / 320.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002961/0.2201, allocations: 2.401 MB / 322.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2202, allocations: 43.22 kB / 322.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001964/0.2204, allocations: 107.1 kB / 322.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.803e-06/0.2204, allocations: 0 / 322.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=95): time 0.00726/0.2276, allocations: 3.269 MB / 326.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.2277, allocations: 115.8 kB / 326.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.2284, allocations: 1.011 MB / 327.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.2284, allocations: 41.7 kB / 327.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.2288, allocations: 0.8397 MB / 328.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.229, allocations: 365 kB / 328.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.2292, allocations: 351.2 kB / 328.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.2293, allocations: 361.8 kB / 329.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.2296, allocations: 202.7 kB / 329.4 MB, free: 6.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/0.2303, allocations: 0.9114 MB / 330.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/0.2313, allocations: 1.324 MB / 331.6 MB, free: 3.359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.2313, allocations: 8 kB / 331.7 MB, free: 3.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001753/0.233, allocations: 1.317 MB / 333 MB, free: 2.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.233, allocations: 16 kB / 333 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.595e-05/0.2331, allocations: 24 kB / 333 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.2345, allocations: 462.9 kB / 333.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.2361, allocations: 0.6734 MB / 334.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.2403, allocations: 6.597 MB / 340.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.2409, allocations: 87.98 kB / 340.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.241, allocations: 83.97 kB / 340.9 MB, free: 9.664 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.2413, allocations: 239.9 kB / 341.1 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2414, allocations: 95.91 kB / 341.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.2431, allocations: 1.003 MB / 342.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2431, allocations: 15.94 kB / 342.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2431, allocations: 0 / 342.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2431, allocations: 11.97 kB / 342.3 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.2457, allocations: 1.987 MB / 344.2 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.2457, allocations: 8 kB / 344.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.2462, allocations: 283.6 kB / 344.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.2463, allocations: 115.1 kB / 344.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.2477, allocations: 0.4925 MB / 345.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.2478, allocations: 43.98 kB / 345.2 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.2515, allocations: 6.381 MB / 351.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.2515, allocations: 11.94 kB / 351.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.2533, allocations: 1.458 MB / 353 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2534, allocations: 31.98 kB / 353.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.2536, allocations: 24 kB / 353.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/0.2541, allocations: 120.2 kB / 353.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.2541, allocations: 39.98 kB / 353.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003444/0.2545, allocations: 484.1 kB / 353.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2545, allocations: 0 / 353.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001561/0.256, allocations: 0.7016 MB / 354.4 MB, free: 11.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009087/0.257, allocations: 0.7288 MB / 355.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.2583, allocations: 1.186 MB / 356.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.224e-05/0.2583, allocations: 21.81 kB / 356.4 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.2589, allocations: 0.8189 MB / 357.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.2597, allocations: 388.3 kB / 357.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.2706, allocations: 2.711 MB / 360.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2708, allocations: 271.1 kB / 360.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006345/0.2715, allocations: 292.8 kB / 360.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.272, allocations: 357.1 kB / 361.2 MB, free: 4.469 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.272, allocations: 0 / 361.2 MB, free: 4.469 MB / 346.7 MB Notification: Performance of Templates: time 0.03069/0.3026, allocations: 29.08 MB / 390.2 MB, free: 7.594 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4047179939225316]