Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.0006912/0.0006912, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008797/0.001571, 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.0008422/0.0008422, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002048/0.002891, 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.9381/0.9381, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.043, allocations: 53.66 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.108/0.108, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01072/0.1187, allocations: 6.932 MB / 268.4 MB, free: 6.414 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.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 269.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.255e-05, allocations: 6.25 kB / 269.7 MB, free: 5.105 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.1447/0.1447, allocations: 7.508 MB / 277.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.1617, allocations: 19.04 MB / 296.3 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.1628, allocations: 28.5 kB / 296.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1639, allocations: 471.2 kB / 296.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.1663, allocations: 0.9698 MB / 297.8 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007512/0.1739, allocations: 3.021 MB / 300.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002295/0.1761, allocations: 1.856 MB / 302.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.1771, allocations: 0.8099 MB / 303.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.1783, allocations: 1.307 MB / 304.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008782/0.1792, allocations: 0.7678 MB / 305.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.1794, allocations: 148 kB / 305.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.1839, allocations: 1.786 MB / 307.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.1842, allocations: 279.1 kB / 307.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.1848, allocations: 467.1 kB / 308.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006849/0.1916, allocations: 3.12 MB / 311.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.949e-05/0.1917, allocations: 0 / 311.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1917, allocations: 4 kB / 311.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.1917, allocations: 0 / 311.3 MB, free: 8.902 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.00242/0.1941, allocations: 2.54 MB / 313.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1942, allocations: 8.031 kB / 313.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.1953, allocations: 0.7223 MB / 314.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.1962, allocations: 0.7041 MB / 315.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.1963, allocations: 201.9 kB / 315.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.1965, allocations: 132.4 kB / 315.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1976, allocations: 1.221 MB / 316.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1976, allocations: 3.938 kB / 316.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.1977, allocations: 52 kB / 316.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.1977, allocations: 35.98 kB / 316.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1988, allocations: 1.13 MB / 318 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.2028, allocations: 3.966 MB / 322 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.2033, allocations: 0.5075 MB / 322.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2035, allocations: 165.7 kB / 322.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003129/0.2066, allocations: 2.5 MB / 325.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2067, allocations: 42.5 kB / 325.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.2067, allocations: 4 kB / 325.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005596/0.2072, allocations: 382.8 kB / 325.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.2073, allocations: 106.8 kB / 325.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.2079, allocations: 0.9917 MB / 326.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.2079, allocations: 29.7 kB / 326.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.2082, allocations: 0.7725 MB / 327.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.2083, allocations: 155.1 kB / 327.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.2085, allocations: 287.3 kB / 327.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.2086, allocations: 365.8 kB / 328.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2088, allocations: 122.8 kB / 328.4 MB, free: 7.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.2092, allocations: 0.9486 MB / 329.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.2101, allocations: 1.342 MB / 330.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.2101, allocations: 11.94 kB / 330.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0008899/0.211, allocations: 0.9669 MB / 331.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.211, allocations: 16 kB / 331.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.2111, allocations: 32.16 kB / 331.7 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/0.2114, allocations: 149.4 kB / 331.9 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.2121, allocations: 473.9 kB / 332.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.2137, allocations: 3.629 MB / 336 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.2143, allocations: 178.9 kB / 336.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.2144, allocations: 87.98 kB / 336.2 MB, free: 14.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0002314/0.2147, allocations: 223.9 kB / 336.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.2147, allocations: 63.88 kB / 336.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009948/0.2157, allocations: 0.8195 MB / 337.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2158, allocations: 4 kB / 337.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2158, allocations: 0 / 337.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2158, allocations: 3.984 kB / 337.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.2169, allocations: 1.005 MB / 338.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2169, allocations: 0 / 338.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2171, allocations: 88.05 kB / 338.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2172, allocations: 95.22 kB / 338.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.2177, allocations: 179.5 kB / 338.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2177, allocations: 12 kB / 338.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.2194, allocations: 3.456 MB / 342.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.2194, allocations: 7.938 kB / 342.2 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.22, allocations: 0.6651 MB / 342.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.2201, allocations: 28.02 kB / 342.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2203, allocations: 12 kB / 342.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.2203, allocations: 39.88 kB / 342.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.2203, allocations: 16 kB / 342.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.2207, allocations: 0.5004 MB / 343.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2207, allocations: 0 / 343.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001662/0.2224, allocations: 0.6656 MB / 344.1 MB, free: 6.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.001226/0.2236, allocations: 0.7918 MB / 344.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009266/0.2245, allocations: 0.6372 MB / 345.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.924e-05/0.2246, allocations: 25.81 kB / 345.5 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.2249, allocations: 368 kB / 345.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.226, allocations: 1.427 MB / 347.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/0.2358, allocations: 1.907 MB / 349.2 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.236, allocations: 199.5 kB / 349.4 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006841/0.2367, allocations: 277.7 kB / 349.7 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.2371, allocations: 295.4 kB / 350 MB, free: 15.91 MB / 346.7 MB Notification: Performance of SimCode: time 2.445e-06/0.2371, allocations: 0 / 350 MB, free: 15.91 MB / 346.7 MB Notification: Performance of Templates: time 0.02622/0.2633, allocations: 22.26 MB / 372.3 MB, free: 9.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.221750850789249]