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.00139/0.00139, allocations: 79.19 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001616/0.001616, allocations: 171.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1343/0.1343, allocations: 17.38 MB / 276.6 MB, free: 15.3 MB / 270.1 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 3.507e-06/3.507e-06, allocations: 4 kB / 412 MB, free: 4.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.521e-05, allocations: 2.281 kB / 412 MB, free: 4.438 MB / 334.1 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.04006/0.0401, allocations: 27.99 MB / 440 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2113/0.2513, allocations: 19.01 MB / 459 MB, free: 30.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.2526, allocations: 27.69 kB / 459 MB, free: 30.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.254, allocations: 0.4906 MB / 459.5 MB, free: 30.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.2571, allocations: 0.9956 MB / 460.5 MB, free: 29.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.2674, allocations: 3.445 MB / 463.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.2707, allocations: 1.873 MB / 465.8 MB, free: 27.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2718, allocations: 0.753 MB / 466.6 MB, free: 26.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.2733, allocations: 1.132 MB / 467.7 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.2746, allocations: 0.7085 MB / 468.4 MB, free: 26.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.2748, allocations: 148.4 kB / 468.5 MB, free: 26.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007288/0.2821, allocations: 1.973 MB / 470.5 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006195/0.2828, allocations: 389.4 kB / 470.9 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.2839, allocations: 0.5732 MB / 471.5 MB, free: 25.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009485/0.2934, allocations: 4.274 MB / 475.7 MB, free: 22.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2934, allocations: 3.875 kB / 475.7 MB, free: 22.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2934, allocations: 0 / 475.7 MB, free: 22.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.2934, allocations: 0 / 475.7 MB, free: 22.85 MB / 366.1 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.003141/0.2966, allocations: 2.048 MB / 477.8 MB, free: 21.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2966, allocations: 9.344 kB / 477.8 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.2983, allocations: 447.8 kB / 478.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.2997, allocations: 0.9876 MB / 479.2 MB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.2999, allocations: 206.3 kB / 479.4 MB, free: 20.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.3, allocations: 129.1 kB / 479.6 MB, free: 20.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.3023, allocations: 1.768 MB / 481.3 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.3023, allocations: 4.125 kB / 481.3 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.3024, allocations: 51.56 kB / 481.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.3024, allocations: 31.59 kB / 481.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.3051, allocations: 2.31 MB / 483.7 MB, free: 17.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.3112, allocations: 4.808 MB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3123, allocations: 0.69 MB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.3128, allocations: 335.5 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005769/0.3185, allocations: 2.858 MB / 492.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3186, allocations: 42.56 kB / 492.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.555e-06/0.3186, allocations: 0 / 492.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.001331/0.3199, allocations: 0.6375 MB / 493.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3199, allocations: 110.8 kB / 493.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.321, allocations: 1.238 MB / 494.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.321, allocations: 37.7 kB / 494.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3213, allocations: 0.8645 MB / 495.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.3214, allocations: 149.5 kB / 495.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.3217, allocations: 291.4 kB / 495.8 MB, free: 4.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.3217, allocations: 357.9 kB / 496.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.3222, allocations: 343.8 kB / 496.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.3228, allocations: 1.156 MB / 497.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.324, allocations: 1.536 MB / 499.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.324, allocations: 8 kB / 499.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002312/0.3263, allocations: 1.556 MB / 0.489 GB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3263, allocations: 20 kB / 0.489 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.3264, allocations: 28 kB / 0.489 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.3271, allocations: 156 kB / 0.4892 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3283, allocations: 398 kB / 0.4895 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.3318, allocations: 3.828 MB / 0.4933 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.3328, allocations: 184 kB / 0.4934 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.333, allocations: 99.98 kB / 0.4935 GB, free: 10.2 MB / 382.1 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.0005661/0.3335, allocations: 327.7 kB / 0.4939 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.3337, allocations: 115.2 kB / 0.494 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.3357, allocations: 0.9311 MB / 0.4949 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3357, allocations: 4 kB / 0.4949 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3357, allocations: 3.938 kB / 0.4949 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3357, allocations: 2.688 kB / 0.4949 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.3379, allocations: 1.167 MB / 0.496 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3379, allocations: 7.938 kB / 0.496 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.3381, allocations: 55.91 kB / 0.4961 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008252/0.3389, allocations: 188.3 kB / 0.4963 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.339, allocations: 15.62 kB / 0.4963 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.3422, allocations: 3.68 MB / 0.4999 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3422, allocations: 2.656 kB / 0.4999 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3436, allocations: 0.8957 MB / 0.5008 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.3439, allocations: 97.92 kB / 0.5008 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3441, allocations: 19.92 kB / 0.5009 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.3445, allocations: 8 kB / 0.5009 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.3446, allocations: 46.5 kB / 0.5009 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3446, allocations: 19.98 kB / 0.5009 GB, free: 2.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.3459, allocations: 0.8769 MB / 0.5018 GB, free: 1.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3459, allocations: 0 / 0.5018 GB, free: 1.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002497/0.3484, allocations: 0.7265 MB / 0.5025 GB, free: 0.6445 MB / 382.1 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.002339/0.3507, allocations: 0.8783 MB / 0.5034 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.3527, allocations: 0.8202 MB / 0.5042 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.3527, allocations: 0 / 0.5042 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006465/0.3534, allocations: 395.7 kB / 0.5045 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.3547, allocations: 155.7 kB / 0.5047 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.3589, allocations: 1.887 MB / 0.5065 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.3596, allocations: 0.502 MB / 0.507 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008604/0.3604, allocations: 304 kB / 0.5073 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.3608, allocations: 153.7 kB / 0.5075 GB, free: 11.69 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3608, allocations: 0 / 0.5075 GB, free: 11.69 MB / 398.1 MB Notification: Performance of Templates: time 0.03612/0.3969, allocations: 20.65 MB / 0.5276 GB, free: 7.785 MB / 414.1 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.548292078077793] Failed to read output from testmodel.py, exit status != 0: 0.40651480853557587 0.420995918 0.124446076 Calling exit ...