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.001422/0.001422, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.001416/0.001416, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.9304/0.9304, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.0897/0.0897, allocations: 17.38 MB / 277.3 MB, free: 11.66 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 2.174e-06/2.174e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.081e-05, allocations: 2.312 kB / 353.4 MB, free: 9.98 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.04324/0.04327, allocations: 31.16 MB / 384.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.06268, allocations: 19.03 MB / 403.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.06409, allocations: 27.75 kB / 403.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.06531, allocations: 456.3 kB / 404.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.06843, allocations: 0.9615 MB / 405.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007746/0.07618, allocations: 3.039 MB / 408.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003082/0.07926, allocations: 1.875 MB / 410 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.08056, allocations: 0.7983 MB / 410.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1575/0.2381, allocations: 1.183 MB / 412 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.2399, allocations: 0.7759 MB / 412.7 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.2405, allocations: 144.9 kB / 412.9 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.2451, allocations: 1.717 MB / 414.6 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006758/0.2458, allocations: 399.5 kB / 415 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.2471, allocations: 0.5754 MB / 415.6 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008339/0.2555, allocations: 3.42 MB / 419 MB, free: 37.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2555, allocations: 0 / 419 MB, free: 37.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2555, allocations: 0.625 kB / 419 MB, free: 37.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.787e-05/0.2556, allocations: 1.609 kB / 419 MB, free: 37.38 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.003866/0.2594, allocations: 2.148 MB / 421.1 MB, free: 36.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2595, allocations: 6.969 kB / 421.1 MB, free: 36.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.261, allocations: 0.6801 MB / 421.8 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2622, allocations: 0.855 MB / 422.7 MB, free: 35.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2623, allocations: 202.5 kB / 422.9 MB, free: 35.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2625, allocations: 123.9 kB / 423 MB, free: 35.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2641, allocations: 1.357 MB / 424.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2642, allocations: 3 kB / 424.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.2643, allocations: 54.75 kB / 424.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2643, allocations: 36.78 kB / 424.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.2659, allocations: 1.453 MB / 425.9 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.2707, allocations: 5.095 MB / 431 MB, free: 32.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.2714, allocations: 0.5476 MB / 431.5 MB, free: 32.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.2717, allocations: 225.1 kB / 431.8 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004725/0.2764, allocations: 2.842 MB / 434.6 MB, free: 31.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2765, allocations: 42.64 kB / 434.6 MB, free: 31.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.2765, allocations: 0 / 434.6 MB, free: 31.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001037/0.2775, allocations: 490.4 kB / 435.1 MB, free: 31.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2775, allocations: 108 kB / 435.2 MB, free: 31.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.2785, allocations: 1.094 MB / 436.3 MB, free: 30.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2785, allocations: 37.64 kB / 436.4 MB, free: 30.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.2789, allocations: 0.9165 MB / 437.3 MB, free: 29.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.361e-05/0.279, allocations: 158.3 kB / 437.4 MB, free: 29.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.2792, allocations: 297.5 kB / 437.7 MB, free: 29.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.2793, allocations: 0.5219 MB / 438.2 MB, free: 29.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.2796, allocations: 151.1 kB / 438.4 MB, free: 29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.2801, allocations: 1.335 MB / 439.7 MB, free: 27.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2812, allocations: 1.625 MB / 441.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.2812, allocations: 10.22 kB / 441.4 MB, free: 25.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001673/0.2829, allocations: 1.254 MB / 442.6 MB, free: 24.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2829, allocations: 16 kB / 442.6 MB, free: 24.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.283, allocations: 32 kB / 442.7 MB, free: 24.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.2834, allocations: 151 kB / 442.8 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.2843, allocations: 398.4 kB / 443.2 MB, free: 24.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.2859, allocations: 5.398 MB / 448.6 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.2868, allocations: 181.4 kB / 448.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.2869, allocations: 99.98 kB / 448.9 MB, free: 18.2 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.000332/0.2872, allocations: 260.4 kB / 449.1 MB, free: 17.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.2874, allocations: 129.9 kB / 449.2 MB, free: 17.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.2886, allocations: 0.908 MB / 450.2 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2886, allocations: 4 kB / 450.2 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.2886, allocations: 0 / 450.2 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2886, allocations: 7.922 kB / 450.2 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.29, allocations: 1.167 MB / 451.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.29, allocations: 2.656 kB / 451.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.2902, allocations: 63.44 kB / 451.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/0.2907, allocations: 177.3 kB / 451.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.2907, allocations: 12 kB / 451.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.2923, allocations: 5.179 MB / 456.8 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2923, allocations: 9.391 kB / 456.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.293, allocations: 0.9107 MB / 457.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.2932, allocations: 97.95 kB / 457.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.2933, allocations: 19.88 kB / 457.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.2936, allocations: 8 kB / 457.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.2937, allocations: 43.36 kB / 457.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.2937, allocations: 16 kB / 457.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006111/0.2943, allocations: 0.6776 MB / 458.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2943, allocations: 0 / 458.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002198/0.2965, allocations: 0.6682 MB / 459.2 MB, free: 7.453 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.001338/0.2979, allocations: 0.7684 MB / 460 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.2991, allocations: 0.6421 MB / 460.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2991, allocations: 0 / 460.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.2995, allocations: 469.5 kB / 461.1 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/0.3004, allocations: 198.5 kB / 461.3 MB, free: 5.609 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.003001/0.3034, allocations: 1.877 MB / 463.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.3036, allocations: 203.8 kB / 463.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006728/0.3042, allocations: 289.6 kB / 463.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3044, allocations: 161.5 kB / 463.8 MB, free: 3.156 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3044, allocations: 3.469 kB / 463.8 MB, free: 3.156 MB / 330.7 MB Notification: Performance of Templates: time 0.02834/0.3328, allocations: 22.46 MB / 486.3 MB, free: 13.98 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.636115696746856]