Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.0006975/0.0006975, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009393/0.001637, 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.0007188/0.0007188, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008483/0.001567, 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.9209/0.9209, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08204/1.003, allocations: 53.65 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.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.09288/0.09288, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009209/0.1021, allocations: 6.952 MB / 268.4 MB, free: 6.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 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.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 269.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.376e-05, allocations: 5.969 kB / 269.7 MB, free: 5.121 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.CheckSubstancesData.StandardElectrochemicalCell2): time 0.1419/0.1419, allocations: 6.833 MB / 276.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.1544, allocations: 13.46 MB / 290 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006567/0.1551, allocations: 23.75 kB / 290 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.1558, allocations: 365.9 kB / 290.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1573, allocations: 0.8082 MB / 291.1 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.1618, allocations: 2.13 MB / 293.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.1635, allocations: 1.685 MB / 295 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.1644, allocations: 0.7788 MB / 295.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.1657, allocations: 1.183 MB / 296.9 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/0.1665, allocations: 0.6994 MB / 297.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.1667, allocations: 138.5 kB / 297.8 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.1695, allocations: 1.222 MB / 299 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.1697, allocations: 271.1 kB / 299.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.1702, allocations: 435.2 kB / 299.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.1729, allocations: 2.389 MB / 302.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.109e-05/0.173, allocations: 0 / 302.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.173, allocations: 0 / 302.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.263e-05/0.173, allocations: 0 / 302.1 MB, free: 2.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.002552/0.1756, allocations: 2.22 MB / 304.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1756, allocations: 8.031 kB / 304.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1767, allocations: 0.6569 MB / 304.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.1776, allocations: 0.6255 MB / 305.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.1778, allocations: 205.8 kB / 305.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1779, allocations: 112.4 kB / 305.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.179, allocations: 1.146 MB / 307 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.179, allocations: 0 / 307 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.179, allocations: 63.88 kB / 307.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.1791, allocations: 31.94 kB / 307.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009957/0.1801, allocations: 1.008 MB / 308.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.1838, allocations: 3.79 MB / 311.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.1843, allocations: 0.5107 MB / 312.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1845, allocations: 164.4 kB / 312.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002925/0.1874, allocations: 2.251 MB / 314.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1874, allocations: 46.48 kB / 314.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001475/0.1876, allocations: 67.36 kB / 314.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.353e-06/0.1876, allocations: 0 / 314.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005569/0.1881, allocations: 359.5 kB / 315.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1882, allocations: 110.8 kB / 315.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.1888, allocations: 0.9196 MB / 316.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1888, allocations: 33.7 kB / 316.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.1891, allocations: 0.729 MB / 317.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.1892, allocations: 138.9 kB / 317.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1894, allocations: 266.6 kB / 317.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1895, allocations: 418.5 kB / 317.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1897, allocations: 109.4 kB / 318 MB, free: 1.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.1901, allocations: 0.8505 MB / 318.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.1909, allocations: 1.118 MB / 320 MB, free: 15.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.1909, allocations: 8 kB / 320 MB, free: 15.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008247/0.1917, allocations: 0.885 MB / 320.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1917, allocations: 16 kB / 320.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.1918, allocations: 28 kB / 320.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.1921, allocations: 150.1 kB / 321 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.1928, allocations: 435.3 kB / 321.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.1944, allocations: 3.62 MB / 325.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1948, allocations: 71.86 kB / 325.2 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.1949, allocations: 80.11 kB / 325.2 MB, free: 9.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.195, allocations: 219.9 kB / 325.5 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.1951, allocations: 56.81 kB / 325.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/0.196, allocations: 0.728 MB / 326.2 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.196, allocations: 0 / 326.2 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.196, allocations: 4 kB / 326.2 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.196, allocations: 3.984 kB / 326.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.1969, allocations: 0.9189 MB / 327.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1969, allocations: 0 / 327.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.197, allocations: 79.89 kB / 327.2 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.1971, allocations: 79.33 kB / 327.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/0.1975, allocations: 179.2 kB / 327.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1975, allocations: 16 kB / 327.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.1989, allocations: 3.46 MB / 331 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1989, allocations: 4.859 kB / 331 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.1993, allocations: 0.6328 MB / 331.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.1994, allocations: 11.95 kB / 331.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1996, allocations: 12.08 kB / 331.6 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1996, allocations: 43.83 kB / 331.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1996, allocations: 15.98 kB / 331.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000329/0.2, allocations: 460.3 kB / 332.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2, allocations: 0 / 332.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00111/0.2011, allocations: 0.5295 MB / 332.7 MB, free: 1.652 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006848/0.2018, allocations: 0.5592 MB / 333.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.2024, allocations: 0.5747 MB / 333.8 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.235e-05/0.2024, allocations: 25.81 kB / 333.8 MB, free: 492 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.2027, allocations: 342.3 kB / 334.2 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.2033, allocations: 265.7 kB / 334.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.2141, allocations: 1.751 MB / 336.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2143, allocations: 191.2 kB / 336.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007233/0.215, allocations: 250.6 kB / 336.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.2155, allocations: 277.2 kB / 336.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2155, allocations: 3.938 kB / 336.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02258/0.238, allocations: 18.53 MB / 355.4 MB, free: 11.05 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.034280551597476]