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.0009157/0.0009157, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001025/0.001025, allocations: 169 kB / 23.27 MB, free: 1.223 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.9257/0.9257, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.08469/0.08469, allocations: 17.38 MB / 277.6 MB, free: 11.5 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.803e-06/1.803e-06, allocations: 0 / 353.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.279e-05, allocations: 2.312 kB / 353.9 MB, free: 9.695 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.StandardElectrochemicalCell): time 0.03424/0.03427, allocations: 31.09 MB / 385 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.04774, allocations: 18.61 MB / 403.6 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.04839, allocations: 27.75 kB / 403.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.04917, allocations: 464.2 kB / 404.1 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.05075, allocations: 0.9538 MB / 405 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004778/0.05553, allocations: 3.039 MB / 408.1 MB, free: 3.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.05673, allocations: 1.879 MB / 409.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.05729, allocations: 0.7944 MB / 410.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1256/0.1829, allocations: 1.184 MB / 411.9 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.1844, allocations: 0.7671 MB / 412.7 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005022/0.1849, allocations: 149 kB / 412.8 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.1889, allocations: 1.724 MB / 414.6 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.1892, allocations: 402.3 kB / 415 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008433/0.19, allocations: 0.5775 MB / 415.5 MB, free: 37.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005312/0.1953, allocations: 3.41 MB / 418.9 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1953, allocations: 1.156 kB / 418.9 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1953, allocations: 0 / 418.9 MB, free: 37.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.676e-05/0.1954, allocations: 0 / 418.9 MB, free: 37.61 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.003086/0.1985, allocations: 2.152 MB / 421.1 MB, free: 36.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1985, allocations: 10.84 kB / 421.1 MB, free: 36.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1999, allocations: 0.6799 MB / 421.8 MB, free: 36.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/0.2009, allocations: 0.8473 MB / 422.6 MB, free: 36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/0.201, allocations: 210.4 kB / 422.8 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.2011, allocations: 122.1 kB / 423 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2023, allocations: 1.242 MB / 424.2 MB, free: 35.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2023, allocations: 1.812 kB / 424.2 MB, free: 35.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.2024, allocations: 53.97 kB / 424.3 MB, free: 35.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.2024, allocations: 36.16 kB / 424.3 MB, free: 35.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.2036, allocations: 1.263 MB / 425.5 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.2078, allocations: 5.124 MB / 430.7 MB, free: 33.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.2084, allocations: 0.5069 MB / 431.2 MB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2086, allocations: 183.6 kB / 431.4 MB, free: 32.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003396/0.212, allocations: 2.892 MB / 434.3 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.212, allocations: 47.59 kB / 434.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.212, allocations: 0 / 434.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006646/0.2127, allocations: 471.4 kB / 434.8 MB, free: 31.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.2127, allocations: 107.3 kB / 434.9 MB, free: 31.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.2133, allocations: 1.068 MB / 435.9 MB, free: 31.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2133, allocations: 29.7 kB / 436 MB, free: 31.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.2136, allocations: 0.932 MB / 436.9 MB, free: 30.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.2137, allocations: 156 kB / 437 MB, free: 30.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.2139, allocations: 300.6 kB / 437.3 MB, free: 30.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.214, allocations: 0.5324 MB / 437.9 MB, free: 30.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.2141, allocations: 122 kB / 438 MB, free: 30.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.2145, allocations: 1.321 MB / 439.3 MB, free: 28.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/0.2154, allocations: 1.584 MB / 440.9 MB, free: 26.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.2154, allocations: 9.75 kB / 440.9 MB, free: 26.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001093/0.2165, allocations: 1.202 MB / 442.1 MB, free: 25.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2165, allocations: 16 kB / 442.1 MB, free: 25.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.2165, allocations: 32 kB / 442.2 MB, free: 25.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.2168, allocations: 151 kB / 442.3 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.2174, allocations: 394.9 kB / 442.7 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2187, allocations: 5.357 MB / 448 MB, free: 19.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.2192, allocations: 180.7 kB / 448.2 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.2192, allocations: 91.98 kB / 448.3 MB, free: 19.5 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.0002064/0.2194, allocations: 264.2 kB / 448.6 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2196, allocations: 125.9 kB / 448.7 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008607/0.2204, allocations: 0.9224 MB / 449.6 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2204, allocations: 0 / 449.6 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2204, allocations: 4 kB / 449.6 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2204, allocations: 0 / 449.6 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.2214, allocations: 1.197 MB / 450.8 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2214, allocations: 4 kB / 450.8 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.2215, allocations: 55.62 kB / 450.9 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.2219, allocations: 180.3 kB / 451 MB, free: 16.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.2219, allocations: 12 kB / 451.1 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.223, allocations: 5.128 MB / 456.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.223, allocations: 7.938 kB / 456.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.2235, allocations: 0.901 MB / 457.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.2236, allocations: 95.27 kB / 457.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.2237, allocations: 15.89 kB / 457.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2238, allocations: 10.55 kB / 457.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.2239, allocations: 47.88 kB / 457.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2239, allocations: 12 kB / 457.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003263/0.2242, allocations: 0.616 MB / 457.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2242, allocations: 0 / 457.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001457/0.2257, allocations: 0.6656 MB / 458.6 MB, free: 9.172 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.0009117/0.2266, allocations: 0.8135 MB / 459.4 MB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006451/0.2272, allocations: 0.6085 MB / 460 MB, free: 8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2272, allocations: 0 / 460 MB, free: 8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.2275, allocations: 463 kB / 460.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.2281, allocations: 188.5 kB / 460.6 MB, free: 7.359 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.002019/0.2301, allocations: 1.87 MB / 462.5 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2302, allocations: 209.9 kB / 462.7 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.2306, allocations: 268.9 kB / 463 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.2309, allocations: 328.7 kB / 463.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2309, allocations: 0 / 463.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of Templates: time 0.02336/0.2543, allocations: 22.67 MB / 485.9 MB, free: 15.33 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.1187250800430775]