Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.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.001257/0.001257, allocations: 81.17 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.00102/0.00102, allocations: 169 kB / 23.27 MB, free: 1.223 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.8785/0.8785, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.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.08046/0.08046, allocations: 17.39 MB / 277.6 MB, free: 11.5 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.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 353.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.606e-05, allocations: 4.703 kB / 353.9 MB, free: 9.707 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.WaterElectrolysis): time 0.02536/0.02538, allocations: 32.31 MB / 386.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.03559, allocations: 11.82 MB / 398 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.03624, allocations: 31.75 kB / 398 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.03687, allocations: 376.6 kB / 398.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.03851, allocations: 1.167 MB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.04124, allocations: 1.822 MB / 401.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.043, allocations: 2.369 MB / 403.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.04388, allocations: 1.255 MB / 405 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.04489, allocations: 1.587 MB / 406.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.04567, allocations: 0.9859 MB / 407.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.04587, allocations: 220 kB / 407.8 MB, free: 3.758 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.04756, allocations: 1.193 MB / 409 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.04783, allocations: 0.5217 MB / 409.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007211/0.04855, allocations: 0.8029 MB / 410.3 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1172/0.1657, allocations: 2.973 MB / 413.3 MB, free: 43.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1657, allocations: 0 / 413.3 MB, free: 43.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1657, allocations: 1.25 kB / 413.3 MB, free: 43.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.337e-05/0.1658, allocations: 0.9375 kB / 413.3 MB, free: 43.26 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: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.002769/0.1685, allocations: 2.493 MB / 415.8 MB, free: 42.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1686, allocations: 15.61 kB / 415.8 MB, free: 42.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.1697, allocations: 0.6711 MB / 416.5 MB, free: 41.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.1707, allocations: 0.9086 MB / 417.4 MB, free: 41.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1708, allocations: 209.1 kB / 417.6 MB, free: 41.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.171, allocations: 199.4 kB / 417.8 MB, free: 41.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1727, allocations: 1.631 MB / 419.4 MB, free: 41.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.1727, allocations: 4.031 kB / 419.4 MB, free: 41.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.1728, allocations: 82.91 kB / 419.5 MB, free: 41.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.1728, allocations: 48.38 kB / 419.6 MB, free: 41.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1742, allocations: 1.268 MB / 420.8 MB, free: 41.16 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.004771/0.179, allocations: 6.482 MB / 427.3 MB, free: 38.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1802, allocations: 1.344 MB / 428.6 MB, free: 37.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1805, allocations: 314.4 kB / 429 MB, free: 37.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003413/0.1839, allocations: 3.196 MB / 432.2 MB, free: 36.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1839, allocations: 56.17 kB / 432.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 1.583e-06/0.1839, allocations: 0 / 432.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.006716/0.1907, allocations: 3.18 MB / 435.4 MB, free: 35.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.1907, allocations: 117.6 kB / 435.5 MB, free: 35.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.1911, allocations: 0.8831 MB / 436.4 MB, free: 35.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.1912, allocations: 42.05 kB / 436.4 MB, free: 35.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.1914, allocations: 1.027 MB / 437.5 MB, free: 34.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1916, allocations: 395.4 kB / 437.8 MB, free: 34.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.1918, allocations: 359.6 kB / 438.2 MB, free: 33.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.1919, allocations: 0.5366 MB / 438.7 MB, free: 33.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1921, allocations: 226.5 kB / 438.9 MB, free: 33.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.1925, allocations: 1.299 MB / 440.2 MB, free: 31.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/0.1933, allocations: 1.695 MB / 441.9 MB, free: 29.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.1933, allocations: 4 kB / 441.9 MB, free: 29.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001944/0.1953, allocations: 1.645 MB / 443.6 MB, free: 27.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1953, allocations: 19.61 kB / 443.6 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.1953, allocations: 24 kB / 443.6 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.1967, allocations: 453.8 kB / 444.1 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.1974, allocations: 445.1 kB / 444.5 MB, free: 27.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.1994, allocations: 4.613 MB / 449.1 MB, free: 22.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.1998, allocations: 82.48 kB / 449.2 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.1999, allocations: 91.98 kB / 449.3 MB, free: 22.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 115 * 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): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.2001, allocations: 278.8 kB / 449.6 MB, free: 21.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.2003, allocations: 151.2 kB / 449.7 MB, free: 21.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.202, allocations: 1.258 MB / 451 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.202, allocations: 12 kB / 451 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.202, allocations: 3.984 kB / 451 MB, free: 20.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.202, allocations: 7.984 kB / 451 MB, free: 20.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.2029, allocations: 1.098 MB / 452.1 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2029, allocations: 3.938 kB / 452.1 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.2034, allocations: 241.3 kB / 452.3 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.2047, allocations: 420.5 kB / 452.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.2048, allocations: 51.8 kB / 452.8 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.2065, allocations: 4.516 MB / 457.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2065, allocations: 7.656 kB / 457.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.2082, allocations: 1.731 MB / 459 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.2083, allocations: 107.1 kB / 459.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.2084, allocations: 27.98 kB / 459.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.2086, allocations: 28 kB / 459.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2088, allocations: 110.8 kB / 459.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.2088, allocations: 43.98 kB / 459.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.209, allocations: 461.1 kB / 459.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.209, allocations: 0 / 459.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001038/0.21, allocations: 0.6123 MB / 460.4 MB, free: 11.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (O2_gas.logn,H2_gas.logn,anode.temperature,cathode.temperature,water.temperature,air.temperature,liquidWater.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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005058/0.2105, allocations: 0.5617 MB / 461 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008641/0.2114, allocations: 1.264 MB / 462.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2114, allocations: 0 / 462.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.2118, allocations: 0.7545 MB / 463 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.2125, allocations: 271.5 kB / 463.3 MB, free: 8.402 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.2153, allocations: 2.789 MB / 466.1 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2155, allocations: 279.8 kB / 466.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005459/0.216, allocations: 309 kB / 466.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.2165, allocations: 457.9 kB / 467.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2165, allocations: 6.469 kB / 467.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of Templates: time 0.02546/0.2419, allocations: 25.14 MB / 492.2 MB, free: 12.56 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3162340437993407]