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.0008264/0.0008264, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008158/0.0008158, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8446/0.8446, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.08234/0.08234, allocations: 17.37 MB / 277.3 MB, free: 11.86 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.463e-06/1.463e-06, allocations: 0 / 412.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.446e-05, allocations: 6.281 kB / 412.7 MB, free: 15.94 MB / 394.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.02077/0.0208, allocations: 27.96 MB / 440.7 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1472/0.168, allocations: 19 MB / 459.7 MB, free: 54.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.1685, allocations: 24.72 kB / 459.7 MB, free: 54.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.1691, allocations: 0.4969 MB / 460.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1702, allocations: 0.997 MB / 461.2 MB, free: 53.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.1737, allocations: 3.448 MB / 464.6 MB, free: 51.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008543/0.1745, allocations: 1.875 MB / 466.5 MB, free: 50.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.175, allocations: 0.7513 MB / 467.3 MB, free: 50.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005235/0.1755, allocations: 1.122 MB / 468.4 MB, free: 49.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.176, allocations: 0.7066 MB / 469.1 MB, free: 49.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.1761, allocations: 149.6 kB / 469.2 MB, free: 49.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.1783, allocations: 1.978 MB / 471.2 MB, free: 49.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1785, allocations: 392.4 kB / 471.6 MB, free: 48.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1787, allocations: 0.5689 MB / 472.2 MB, free: 48.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.1812, allocations: 4.274 MB / 476.5 MB, free: 46.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1812, allocations: 3.188 kB / 476.5 MB, free: 46.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1812, allocations: 0 / 476.5 MB, free: 46.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1812, allocations: 0 / 476.5 MB, free: 46.85 MB / 410.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.001513/0.1828, allocations: 2.052 MB / 478.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1828, allocations: 11.84 kB / 478.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/0.1836, allocations: 436.6 kB / 478.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.1846, allocations: 0.9919 MB / 479.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/0.1847, allocations: 203 kB / 480.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1848, allocations: 130.3 kB / 480.3 MB, free: 44.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.1865, allocations: 1.768 MB / 482 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1865, allocations: 7.312 kB / 482 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.1866, allocations: 53.53 kB / 482.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1866, allocations: 32 kB / 482.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1886, allocations: 2.31 MB / 484.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.1929, allocations: 4.798 MB / 489.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.1937, allocations: 0.6905 MB / 489.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.1941, allocations: 337.8 kB / 490.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003416/0.1975, allocations: 2.86 MB / 493.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.1975, allocations: 41.41 kB / 493.2 MB, free: 38.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.1975, allocations: 1.094 kB / 493.2 MB, free: 38.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.000912/0.1984, allocations: 0.6338 MB / 493.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1984, allocations: 110.6 kB / 493.9 MB, free: 38.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008504/0.1993, allocations: 1.239 MB / 495.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1993, allocations: 35.64 kB / 495.2 MB, free: 37.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.1996, allocations: 0.8613 MB / 496 MB, free: 37.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.1997, allocations: 153.1 kB / 496.2 MB, free: 37.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.1999, allocations: 286.6 kB / 496.5 MB, free: 36.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.2, allocations: 357.8 kB / 496.8 MB, free: 36.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.2003, allocations: 344.9 kB / 497.1 MB, free: 36.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.201, allocations: 1.16 MB / 498.3 MB, free: 35.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.2019, allocations: 1.53 MB / 499.8 MB, free: 33.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.2019, allocations: 9.156 kB / 499.8 MB, free: 33.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001563/0.2035, allocations: 1.56 MB / 0.4897 GB, free: 33.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.2035, allocations: 18.17 kB / 0.4897 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.2036, allocations: 29.28 kB / 0.4897 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.2039, allocations: 155.2 kB / 0.4898 GB, free: 33.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.2046, allocations: 397.8 kB / 0.4902 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2059, allocations: 3.828 MB / 0.494 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.2063, allocations: 179.9 kB / 0.4941 GB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2064, allocations: 101.1 kB / 0.4942 GB, free: 29.25 MB / 410.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.0002921/0.2067, allocations: 329.1 kB / 0.4945 GB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2068, allocations: 113.7 kB / 0.4947 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.2079, allocations: 0.9429 MB / 0.4956 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.208, allocations: 3.562 kB / 0.4956 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.208, allocations: 5.031 kB / 0.4956 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.208, allocations: 4.875 kB / 0.4956 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.2092, allocations: 1.16 MB / 0.4967 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2092, allocations: 4.484 kB / 0.4967 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2093, allocations: 61.61 kB / 0.4968 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.2097, allocations: 175.8 kB / 0.497 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2097, allocations: 14.75 kB / 0.497 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2108, allocations: 3.697 MB / 0.5006 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2108, allocations: 9.406 kB / 0.5006 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.2115, allocations: 0.8892 MB / 0.5015 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.2116, allocations: 104.7 kB / 0.5016 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.2117, allocations: 11.53 kB / 0.5016 GB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2118, allocations: 8.125 kB / 0.5016 GB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2119, allocations: 38.92 kB / 0.5016 GB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2119, allocations: 20.48 kB / 0.5016 GB, free: 23.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006615/0.2126, allocations: 0.8761 MB / 0.5025 GB, free: 23.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2126, allocations: 0 / 0.5025 GB, free: 23.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001379/0.214, allocations: 0.7264 MB / 0.5032 GB, free: 22.88 MB / 410.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.001107/0.2151, allocations: 0.8724 MB / 0.504 GB, free: 22.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.2161, allocations: 0.8293 MB / 0.5049 GB, free: 22.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2161, allocations: 2.531 kB / 0.5049 GB, free: 22.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2164, allocations: 393.8 kB / 0.5052 GB, free: 22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.2171, allocations: 163 kB / 0.5054 GB, free: 21.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2189, allocations: 1.924 MB / 0.5073 GB, free: 20.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.2193, allocations: 0.5054 MB / 0.5078 GB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.2195, allocations: 211.8 kB / 0.508 GB, free: 20.36 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2195, allocations: 0 / 0.508 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02351/0.243, allocations: 41.03 MB / 0.548 GB, free: 13.72 MB / 442.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8842081893235445] Failed to read output from testmodel.py, exit status != 0: 0.24898814875632524 0.25708062499999995 0.07429949000000001 Calling exit ...