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.0009557/0.0009557, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001111/0.001111, allocations: 177 kB / 23.5 MB, free: 1.051 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.9767/0.9767, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.09128/0.09128, allocations: 17.39 MB / 277.7 MB, free: 11.7 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.483e-06/1.483e-06, allocations: 0 / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.656e-05, allocations: 9.688 kB / 353.5 MB, free: 10.3 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.02812/0.02814, allocations: 31.21 MB / 384.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02208/0.05022, allocations: 21.64 MB / 406.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.05137, allocations: 27.75 kB / 406.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.05264, allocations: 0.4884 MB / 406.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.05522, allocations: 0.9925 MB / 407.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007814/0.06303, allocations: 3.458 MB / 411.3 MB, free: 0.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1325/0.1955, allocations: 1.864 MB / 413.1 MB, free: 36.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.1966, allocations: 0.7893 MB / 413.9 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.198, allocations: 1.138 MB / 415.1 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.1993, allocations: 0.7382 MB / 415.8 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.1997, allocations: 147.9 kB / 416 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.2038, allocations: 1.976 MB / 417.9 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.2042, allocations: 396.6 kB / 418.3 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008689/0.205, allocations: 0.5696 MB / 418.9 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005858/0.2109, allocations: 3.693 MB / 422.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2109, allocations: 3.719 kB / 422.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2109, allocations: 0 / 422.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.673e-05/0.2109, allocations: 0 / 422.6 MB, free: 35.27 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.002313/0.2133, allocations: 2.175 MB / 424.8 MB, free: 34.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2133, allocations: 13.91 kB / 424.8 MB, free: 34.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.2146, allocations: 0.7389 MB / 425.5 MB, free: 33.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2156, allocations: 1.016 MB / 426.5 MB, free: 33.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.2157, allocations: 204.9 kB / 426.7 MB, free: 33.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.2159, allocations: 129.7 kB / 426.9 MB, free: 33.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.2171, allocations: 1.347 MB / 428.2 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.2172, allocations: 3.469 kB / 428.2 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.2173, allocations: 58.5 kB / 428.3 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.2173, allocations: 32.34 kB / 428.3 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.2188, allocations: 1.448 MB / 429.7 MB, free: 33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.2228, allocations: 5.087 MB / 434.8 MB, free: 29.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.2235, allocations: 0.5405 MB / 435.4 MB, free: 29.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.2238, allocations: 215.1 kB / 435.6 MB, free: 29.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003275/0.227, allocations: 2.988 MB / 438.6 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2271, allocations: 36.98 kB / 438.6 MB, free: 28.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.774e-06/0.2271, allocations: 0 / 438.6 MB, free: 28.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007824/0.2278, allocations: 492.8 kB / 439.1 MB, free: 27.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.2279, allocations: 109.7 kB / 439.2 MB, free: 27.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.2285, allocations: 1.094 MB / 440.3 MB, free: 26.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2285, allocations: 32.39 kB / 440.3 MB, free: 26.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.2288, allocations: 0.9239 MB / 441.2 MB, free: 25.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.2289, allocations: 157.2 kB / 441.4 MB, free: 25.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.229, allocations: 297 kB / 441.7 MB, free: 25.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.2291, allocations: 0.5199 MB / 442.2 MB, free: 25.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2293, allocations: 147.9 kB / 442.3 MB, free: 24.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.2297, allocations: 1.347 MB / 443.7 MB, free: 22.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00086/0.2306, allocations: 1.624 MB / 445.3 MB, free: 20.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.2306, allocations: 8 kB / 445.3 MB, free: 20.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001169/0.2318, allocations: 1.252 MB / 446.6 MB, free: 19.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2318, allocations: 20 kB / 446.6 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.2318, allocations: 30.69 kB / 446.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.2322, allocations: 147.3 kB / 446.8 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.2327, allocations: 398 kB / 447.2 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.234, allocations: 5.397 MB / 452.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.2344, allocations: 177.4 kB / 452.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.2345, allocations: 104 kB / 452.8 MB, free: 13.38 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.0001995/0.2347, allocations: 263.1 kB / 453.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2348, allocations: 119.2 kB / 453.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/0.2357, allocations: 0.9288 MB / 454.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2357, allocations: 4 kB / 454.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.2357, allocations: 0 / 454.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2357, allocations: 7.938 kB / 454.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/0.2366, allocations: 1.163 MB / 455.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2366, allocations: 4 kB / 455.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2368, allocations: 63.34 kB / 455.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.2371, allocations: 180.8 kB / 455.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2372, allocations: 16 kB / 455.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.2382, allocations: 5.171 MB / 460.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2382, allocations: 9.656 kB / 460.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.2387, allocations: 0.9133 MB / 461.7 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.2388, allocations: 95.27 kB / 461.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.2389, allocations: 19.89 kB / 461.8 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.239, allocations: 8 kB / 461.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.2391, allocations: 35.89 kB / 461.8 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2391, allocations: 23.98 kB / 461.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004342/0.2395, allocations: 0.6698 MB / 462.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2395, allocations: 6.125 kB / 462.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001416/0.241, allocations: 0.7161 MB / 463.2 MB, free: 2.59 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.0009409/0.2419, allocations: 0.8877 MB / 464.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007928/0.2427, allocations: 0.6406 MB / 464.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2427, allocations: 0 / 464.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.2429, allocations: 469.6 kB / 465.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.2435, allocations: 192.7 kB / 465.4 MB, free: 0.6602 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.00216/0.2457, allocations: 1.868 MB / 467.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2458, allocations: 207.8 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004999/0.2463, allocations: 296.7 kB / 467.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.2465, allocations: 150.8 kB / 467.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2465, allocations: 0 / 467.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Templates: time 0.02309/0.2696, allocations: 20.84 MB / 488.8 MB, free: 10.47 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.573643494164571]