Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009931/0.0009931, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009878/0.0009878, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9551/0.9551, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09748/0.09748, allocations: 17.47 MB / 277.7 MB, free: 11.64 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 353.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.363e-05, allocations: 2.312 kB / 353.6 MB, free: 11.22 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03842/0.03845, allocations: 30.62 MB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.05263, allocations: 18.22 MB / 402.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.05335, allocations: 23.75 kB / 402.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.05414, allocations: 444.5 kB / 402.9 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.05545, allocations: 0.8335 MB / 403.7 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004918/0.06037, allocations: 2.938 MB / 406.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.06158, allocations: 1.691 MB / 408.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.06241, allocations: 0.7667 MB / 409.1 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000644/0.06305, allocations: 1.037 MB / 410.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.06364, allocations: 0.6741 MB / 410.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.06377, allocations: 140 kB / 410.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.06602, allocations: 1.68 MB / 412.6 MB, free: 128 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.06625, allocations: 374.7 kB / 413 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.06662, allocations: 0.5301 MB / 413.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.06934, allocations: 3.202 MB / 416.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.06934, allocations: 0 / 416.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06934, allocations: 0 / 416.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.06935, allocations: 7.984 kB / 416.7 MB, free: 12 MB / 394.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.001789/0.07114, allocations: 1.997 MB / 418.7 MB, free: 9.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.07118, allocations: 12.03 kB / 418.7 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.07227, allocations: 0.6653 MB / 419.4 MB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.07322, allocations: 0.9375 MB / 420.3 MB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.07332, allocations: 205.8 kB / 420.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.07345, allocations: 112.4 kB / 420.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.07474, allocations: 1.269 MB / 421.9 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.07476, allocations: 4 kB / 421.9 MB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.07484, allocations: 48 kB / 422 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.07486, allocations: 32 kB / 422 MB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.0764, allocations: 1.299 MB / 423.3 MB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/0.0803, allocations: 4.932 MB / 428.2 MB, free: 172 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.08101, allocations: 0.5475 MB / 428.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.08128, allocations: 216.9 kB / 429 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003151/0.08443, allocations: 2.737 MB / 431.7 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.08446, allocations: 41.33 kB / 431.8 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001351/0.08459, allocations: 71.36 kB / 431.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.302e-06/0.08459, allocations: 0 / 431.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007523/0.08535, allocations: 456.1 kB / 432.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.08538, allocations: 114.8 kB / 432.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.08611, allocations: 1.008 MB / 433.4 MB, free: 10.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.08613, allocations: 29.7 kB / 433.4 MB, free: 10.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.08649, allocations: 0.8596 MB / 434.3 MB, free: 9.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.08657, allocations: 151.1 kB / 434.4 MB, free: 9.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.08678, allocations: 276.4 kB / 434.7 MB, free: 9.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.08695, allocations: 0.582 MB / 435.3 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.08717, allocations: 142.5 kB / 435.4 MB, free: 8.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.08791, allocations: 1.207 MB / 436.6 MB, free: 7.074 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.08887, allocations: 1.458 MB / 438.1 MB, free: 5.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.08888, allocations: 8 kB / 438.1 MB, free: 5.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001193/0.09008, allocations: 1.145 MB / 439.3 MB, free: 3.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.0901, allocations: 18.81 kB / 439.3 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.09012, allocations: 28 kB / 439.3 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.09047, allocations: 147 kB / 439.4 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.09107, allocations: 379.8 kB / 439.8 MB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1246/0.2157, allocations: 5.386 MB / 445.2 MB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.2163, allocations: 82.58 kB / 445.3 MB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.2164, allocations: 91.34 kB / 445.4 MB, free: 115.3 MB / 410.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.0003317/0.2168, allocations: 255.5 kB / 445.6 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.2169, allocations: 109.7 kB / 445.7 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009956/0.2179, allocations: 0.8221 MB / 446.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2179, allocations: 3.219 kB / 446.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2179, allocations: 0 / 446.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2179, allocations: 9.297 kB / 446.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.2191, allocations: 1.065 MB / 447.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2191, allocations: 3.281 kB / 447.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.2193, allocations: 58.5 kB / 447.7 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.2197, allocations: 173.9 kB / 447.9 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.2198, allocations: 17.38 kB / 447.9 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.2213, allocations: 5.172 MB / 453 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2213, allocations: 3.344 kB / 453.1 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.2219, allocations: 0.8639 MB / 453.9 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.222, allocations: 90.31 kB / 454 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.2221, allocations: 7.969 kB / 454 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2222, allocations: 10.34 kB / 454 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.2223, allocations: 36.16 kB / 454.1 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2223, allocations: 22.7 kB / 454.1 MB, free: 108.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.2227, allocations: 0.6187 MB / 454.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2227, allocations: 2.656 kB / 454.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001336/0.2241, allocations: 0.6395 MB / 455.3 MB, free: 108.6 MB / 410.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.0008583/0.2249, allocations: 0.7728 MB / 456.1 MB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008244/0.2258, allocations: 0.5991 MB / 456.7 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2258, allocations: 0 / 456.7 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.226, allocations: 467.1 kB / 457.2 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.2266, allocations: 172.2 kB / 457.3 MB, free: 107.9 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.2286, allocations: 1.738 MB / 459.1 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2287, allocations: 189 kB / 459.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.2291, allocations: 265.3 kB / 459.5 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.2293, allocations: 135.6 kB / 459.6 MB, free: 106.8 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2293, allocations: 0 / 459.6 MB, free: 106.8 MB / 410.7 MB Notification: Performance of Templates: time 0.01874/0.248, allocations: 18.52 MB / 478.2 MB, free: 105.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.43893400602974]