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.0008315/0.0008315, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002075, 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.0008446/0.0008446, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001898, 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.9481/0.9481, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08558/1.034, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.09271/0.09271, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02711/0.1198, allocations: 6.936 MB / 268.4 MB, free: 6.41 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 1.302e-06/1.302e-06, allocations: 0 / 269.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.151e-05, allocations: 5.688 kB / 269.7 MB, free: 5.109 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.1304/0.1304, allocations: 8.08 MB / 277.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.1455, allocations: 14.69 MB / 292.5 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.1467, allocations: 25.25 kB / 292.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.1476, allocations: 407.2 kB / 292.9 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1503, allocations: 1.195 MB / 294.1 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005344/0.1557, allocations: 2.173 MB / 296.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.158, allocations: 2.16 MB / 298.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.1592, allocations: 1.136 MB / 299.6 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.1609, allocations: 1.498 MB / 301.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.1621, allocations: 0.8998 MB / 302 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.1624, allocations: 200 kB / 302.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.1662, allocations: 1.528 MB / 303.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.1665, allocations: 350.9 kB / 304.1 MB, free: 176 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006868/0.1671, allocations: 0.5732 MB / 304.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00552/0.1727, allocations: 2.931 MB / 307.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.1727, allocations: 0 / 307.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1727, allocations: 4 kB / 307.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.209e-05/0.1727, allocations: 4 kB / 307.6 MB, free: 12.65 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.003232/0.176, allocations: 2.764 MB / 310.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.176, allocations: 16.02 kB / 310.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1772, allocations: 0.7465 MB / 311.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.1781, allocations: 0.6881 MB / 311.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.1782, allocations: 234.7 kB / 312 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1784, allocations: 160.4 kB / 312.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1797, allocations: 1.445 MB / 313.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.1797, allocations: 0 / 313.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/0.1798, allocations: 68 kB / 313.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1798, allocations: 40 kB / 313.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.181, allocations: 1.092 MB / 314.8 MB, free: 5.211 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.005431/0.1864, allocations: 4.784 MB / 319.6 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.1871, allocations: 0.6973 MB / 320.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.1874, allocations: 257.9 kB / 320.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003223/0.1906, allocations: 2.401 MB / 323 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1906, allocations: 39.22 kB / 323 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002263/0.1909, allocations: 107.1 kB / 323.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.575e-06/0.1909, allocations: 0 / 323.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.008579/0.1994, allocations: 3.789 MB / 326.9 MB, free: 8.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1995, allocations: 119.9 kB / 327 MB, free: 8.742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.2002, allocations: 1.008 MB / 328 MB, free: 7.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2003, allocations: 45.69 kB / 328.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.2006, allocations: 0.8436 MB / 328.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.2008, allocations: 357 kB / 329.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.2011, allocations: 343.2 kB / 329.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2012, allocations: 365.8 kB / 329.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.2014, allocations: 202.7 kB / 330.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.202, allocations: 0.9153 MB / 331.1 MB, free: 4.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.2033, allocations: 1.403 MB / 332.5 MB, free: 2.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.2033, allocations: 14.55 kB / 332.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002082/0.2054, allocations: 1.297 MB / 333.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.2054, allocations: 16.47 kB / 333.8 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.2054, allocations: 31.98 kB / 333.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.2068, allocations: 470.6 kB / 334.3 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.2083, allocations: 0.6734 MB / 335 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.2123, allocations: 6.603 MB / 341.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.213, allocations: 83.84 kB / 341.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2131, allocations: 87.97 kB / 341.7 MB, free: 8.867 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 (218): * Single equations (assignments): 212 * 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.0003086/0.2134, allocations: 232.1 kB / 342 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2136, allocations: 95.86 kB / 342 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.2152, allocations: 0.993 MB / 343 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2152, allocations: 12 kB / 343.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2152, allocations: 3.938 kB / 343.1 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.2152, allocations: 7.922 kB / 343.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.2179, allocations: 1.979 MB / 345 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.2179, allocations: 11.94 kB / 345.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.2187, allocations: 283.7 kB / 345.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2188, allocations: 115.1 kB / 345.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.2203, allocations: 488.6 kB / 345.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.2203, allocations: 51.92 kB / 346 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.2239, allocations: 6.39 MB / 352.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.2239, allocations: 11.94 kB / 352.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.2257, allocations: 1.438 MB / 353.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.2258, allocations: 32 kB / 353.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.2261, allocations: 32 kB / 353.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.2263, allocations: 112.2 kB / 354 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.2263, allocations: 43.98 kB / 354 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003908/0.2267, allocations: 484.1 kB / 354.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2267, allocations: 0 / 354.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001713/0.2284, allocations: 0.7055 MB / 355.2 MB, free: 10.67 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 (100): * Single equations (assignments): 94 * 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.0009116/0.2293, allocations: 0.7288 MB / 355.9 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.2307, allocations: 1.202 MB / 357.1 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.891e-05/0.2308, allocations: 22.28 kB / 357.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.2314, allocations: 0.8948 MB / 358.1 MB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.2328, allocations: 1.532 MB / 359.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.2436, allocations: 2.691 MB / 362.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2439, allocations: 261.1 kB / 362.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007173/0.2446, allocations: 281.7 kB / 362.8 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.2451, allocations: 349.2 kB / 363.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2451, allocations: 0 / 363.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of Templates: time 0.0319/0.277, allocations: 28.47 MB / 391.6 MB, free: 5.992 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.385348854586482]