Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001481/0.001481, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001968/0.001968, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9821/0.9821, allocations: 177.1 MB / 204.5 MB, free: 5.309 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.09623/0.09623, allocations: 17.38 MB / 278.4 MB, free: 11.35 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 354.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.871e-05, allocations: 2.312 kB / 354.7 MB, free: 9.691 MB / 282.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.StandardElectrochemicalCell2): time 0.02624/0.02626, allocations: 30.41 MB / 385.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.03726, allocations: 13.13 MB / 398.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008406/0.0381, allocations: 23.81 kB / 398.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000807/0.0389, allocations: 365 kB / 398.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.04051, allocations: 0.7986 MB / 399.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.04482, allocations: 2.143 MB / 401.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.04668, allocations: 1.688 MB / 403.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009502/0.04763, allocations: 0.7745 MB / 404 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.04876, allocations: 1.096 MB / 405.1 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008542/0.04961, allocations: 0.7015 MB / 405.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.0498, allocations: 140 kB / 405.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.05232, allocations: 1.189 MB / 407.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.05259, allocations: 378.8 kB / 407.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.05305, allocations: 0.534 MB / 408 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.05603, allocations: 2.615 MB / 410.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.05603, allocations: 0 / 410.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.05604, allocations: 0 / 410.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.05605, allocations: 0 / 410.6 MB, free: 1.727 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.1409/0.197, allocations: 1.916 MB / 412.5 MB, free: 45.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.197, allocations: 9.031 kB / 412.6 MB, free: 45.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.1983, allocations: 0.6086 MB / 413.2 MB, free: 45.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1994, allocations: 0.772 MB / 413.9 MB, free: 44.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.1995, allocations: 200.3 kB / 414.1 MB, free: 44.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.1996, allocations: 116.3 kB / 414.2 MB, free: 44.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.2011, allocations: 1.161 MB / 415.4 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2011, allocations: 5.469 kB / 415.4 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.2012, allocations: 52.88 kB / 415.5 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.2012, allocations: 34 kB / 415.5 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.2027, allocations: 1.126 MB / 416.6 MB, free: 44.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004553/0.2072, allocations: 4.956 MB / 421.6 MB, free: 42.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.2079, allocations: 0.516 MB / 422.1 MB, free: 41.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2081, allocations: 180.5 kB / 422.3 MB, free: 41.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003336/0.2114, allocations: 2.611 MB / 424.9 MB, free: 41.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2115, allocations: 43.95 kB / 424.9 MB, free: 41.25 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001454/0.2116, allocations: 69.34 kB / 425 MB, free: 41.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 4.238e-06/0.2116, allocations: 0 / 425 MB, free: 41.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006279/0.2122, allocations: 430.4 kB / 425.4 MB, free: 41.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.2123, allocations: 106.3 kB / 425.5 MB, free: 40.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.2129, allocations: 0.985 MB / 426.5 MB, free: 40.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2129, allocations: 31.7 kB / 426.5 MB, free: 40.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.2132, allocations: 0.8667 MB / 427.4 MB, free: 40.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.2133, allocations: 149.9 kB / 427.5 MB, free: 40.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.2136, allocations: 280.5 kB / 427.8 MB, free: 40.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2137, allocations: 0.5987 MB / 428.4 MB, free: 39.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2139, allocations: 110.2 kB / 428.5 MB, free: 39.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.2145, allocations: 1.184 MB / 429.7 MB, free: 38.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.2154, allocations: 1.439 MB / 431.1 MB, free: 36.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.2155, allocations: 10.66 kB / 431.2 MB, free: 36.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00125/0.2167, allocations: 1.076 MB / 432.2 MB, free: 36.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2167, allocations: 19.66 kB / 432.3 MB, free: 36.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.2168, allocations: 26.31 kB / 432.3 MB, free: 36.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.2172, allocations: 146.1 kB / 432.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.2178, allocations: 374.5 kB / 432.8 MB, free: 36.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.2194, allocations: 5.341 MB / 438.1 MB, free: 31.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.2199, allocations: 69.95 kB / 438.2 MB, free: 31.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.2199, allocations: 85.52 kB / 438.3 MB, free: 31.3 MB / 330.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.0002266/0.2202, allocations: 256.8 kB / 438.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.2203, allocations: 107.2 kB / 438.6 MB, free: 31.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.2211, allocations: 0.8279 MB / 439.5 MB, free: 30.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2211, allocations: 1.938 kB / 439.5 MB, free: 30.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.2211, allocations: 2.688 kB / 439.5 MB, free: 30.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2211, allocations: 0 / 439.5 MB, free: 30.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2222, allocations: 1.078 MB / 440.5 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2222, allocations: 3.25 kB / 440.5 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.2223, allocations: 57.16 kB / 440.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.2227, allocations: 179.6 kB / 440.8 MB, free: 30.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2227, allocations: 14.56 kB / 440.8 MB, free: 30.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.2238, allocations: 5.116 MB / 445.9 MB, free: 25.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2238, allocations: 8.719 kB / 445.9 MB, free: 25.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.2244, allocations: 0.844 MB / 446.8 MB, free: 24.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.2245, allocations: 83.81 kB / 446.8 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.2246, allocations: 16.56 kB / 446.9 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2247, allocations: 7.562 kB / 446.9 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.2248, allocations: 41.41 kB / 446.9 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.2248, allocations: 18.64 kB / 446.9 MB, free: 24.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003495/0.2251, allocations: 0.5685 MB / 447.5 MB, free: 24.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2251, allocations: 0 / 447.5 MB, free: 24.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001142/0.2263, allocations: 0.5295 MB / 448 MB, free: 23.86 MB / 330.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.0006644/0.227, allocations: 0.5746 MB / 448.6 MB, free: 23.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007068/0.2277, allocations: 0.5712 MB / 449.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2277, allocations: 0 / 449.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2279, allocations: 460.9 kB / 449.6 MB, free: 22.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.2285, allocations: 175.1 kB / 449.8 MB, free: 22.62 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.001883/0.2304, allocations: 1.715 MB / 451.5 MB, free: 20.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.2305, allocations: 189.3 kB / 451.7 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.2309, allocations: 246.4 kB / 451.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.2312, allocations: 303.5 kB / 452.2 MB, free: 20.25 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2312, allocations: 0 / 452.2 MB, free: 20.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01851/0.2497, allocations: 18.38 MB / 470.6 MB, free: 3.164 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6292830733582377]