Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.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.001969/0.001969, allocations: 88.72 kB / 19.44 MB, free: 356 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.001609/0.001609, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.161/0.161, allocations: 17.45 MB / 277 MB, free: 11.6 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.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery") translateModel(Chemical.Obsolete.Examples.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.301e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.015/0.01504, allocations: 10.2 MB / 363 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04576/0.06079, allocations: 29.73 MB / 392.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.06251, allocations: 35.69 kB / 392.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.06496, allocations: 0.6937 MB / 393.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009405/0.07436, allocations: 2.85 MB / 396.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.08742, allocations: 4.643 MB / 401 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.09295, allocations: 3.532 MB / 404.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.096, allocations: 1.759 MB / 406.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.1004, allocations: 2.352 MB / 408.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.1036, allocations: 1.497 MB / 410.1 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008512/0.1045, allocations: 324 kB / 410.4 MB, free: 312 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1487/0.2531, allocations: 3.571 MB / 414 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.2541, allocations: 0.7689 MB / 414.8 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.256, allocations: 1.154 MB / 415.9 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.2712, allocations: 7.939 MB / 423.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2712, allocations: 3.156 kB / 423.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2712, allocations: 2.844 kB / 423.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.537e-05/0.2713, allocations: 0 / 423.9 MB, free: 24.11 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.008279/0.2796, allocations: 3.674 MB / 427.5 MB, free: 22.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2796, allocations: 9.812 kB / 427.6 MB, free: 22.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.283, allocations: 1.059 MB / 428.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.2856, allocations: 1.477 MB / 430.1 MB, free: 21.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.2858, allocations: 311.3 kB / 430.4 MB, free: 21.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.2862, allocations: 273 kB / 430.7 MB, free: 21.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.2913, allocations: 3.157 MB / 433.8 MB, free: 21.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/0.2913, allocations: 10.75 kB / 433.8 MB, free: 21.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/0.2916, allocations: 107.2 kB / 433.9 MB, free: 21.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.2916, allocations: 64.5 kB / 434 MB, free: 21.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/0.2974, allocations: 3.811 MB / 437.8 MB, free: 20.21 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.3129, allocations: 7.967 MB / 445.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.3169, allocations: 2.789 MB / 448.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.3186, allocations: 1.228 MB / 449.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.3313, allocations: 6.207 MB / 456 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3313, allocations: 52.56 kB / 456 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000996/0.3323, allocations: 226.6 kB / 456.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=177): time 3.908e-06/0.3323, allocations: 0 / 456.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=251): time 0.05054/0.3829, allocations: 11.89 MB / 468.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.3829, allocations: 77.41 kB / 468.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.3849, allocations: 1.123 MB / 469.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005251/0.3854, allocations: 69.7 kB / 469.4 MB, free: 7.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3865, allocations: 1.18 MB / 470.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001398/0.3879, allocations: 0.8927 MB / 471.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.3889, allocations: 0.5613 MB / 472.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3891, allocations: 301.1 kB / 472.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.3913, allocations: 1.014 MB / 473.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.3945, allocations: 1.909 MB / 475.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/0.4007, allocations: 3.198 MB / 478.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/0.4007, allocations: 8 kB / 478.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01261/0.4133, allocations: 4.235 MB / 482.7 MB, free: 9.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.4134, allocations: 23.92 kB / 482.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.858e-05/0.4134, allocations: 29.03 kB / 482.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008704/0.4221, allocations: 1.501 MB / 484.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.4252, allocations: 0.6608 MB / 484.9 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.4402, allocations: 7.867 MB / 492.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.4428, allocations: 99.98 kB / 492.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006479/0.4435, allocations: 172.7 kB / 493.1 MB, free: 14.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (341): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,25), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001776/0.4452, allocations: 0.518 MB / 493.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.4464, allocations: 270.7 kB / 493.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.4592, allocations: 3.872 MB / 497.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-05/0.4592, allocations: 24 kB / 497.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.4592, allocations: 4 kB / 497.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-05/0.4593, allocations: 11.95 kB / 497.8 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.478, allocations: 5.659 MB / 0.4916 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.478, allocations: 4 kB / 0.4916 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/0.4802, allocations: 441.1 kB / 0.492 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008024/0.4882, allocations: 1.411 MB / 0.4934 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004898/0.4887, allocations: 96.42 kB / 0.4935 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.5012, allocations: 7.379 MB / 0.5007 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.5012, allocations: 4 kB / 0.5007 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/0.5158, allocations: 5.088 MB / 0.5057 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.5164, allocations: 174.7 kB / 0.5059 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/0.5169, allocations: 52 kB / 0.5059 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.5185, allocations: 63.97 kB / 0.506 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/0.5191, allocations: 233.5 kB / 0.5062 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/0.5194, allocations: 115.9 kB / 0.5063 GB, free: 4.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00123/0.5207, allocations: 0.6617 MB / 0.5069 GB, free: 4.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5207, allocations: 0 / 0.5069 GB, free: 4.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005394/0.5261, allocations: 1.496 MB / 0.5084 GB, free: 2.707 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (anode.temperature,cathode.temperature,solution1.temperature,Pb.logn,HSO4.logn,PbSO4_.logn,H.logn,PbO2.logn,H2O.logn,PbSO4.logn) * 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 (222): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,66.7%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,27), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004697/0.5307, allocations: 1.6 MB / 0.51 GB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007918/0.5387, allocations: 3.255 MB / 0.5132 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5387, allocations: 8.25 kB / 0.5132 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004197/0.5429, allocations: 1.827 MB / 0.5149 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.5453, allocations: 442.9 kB / 0.5154 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5559, allocations: 4.756 MB / 0.52 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.5575, allocations: 1.026 MB / 0.521 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002409/0.5599, allocations: 0.4925 MB / 0.5215 GB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.561, allocations: 349.9 kB / 0.5218 GB, free: 5.094 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.561, allocations: 7.469 kB / 0.5218 GB, free: 5.09 MB / 410.7 MB Notification: Performance of Templates: time 0.2308/0.7918, allocations: 54.38 MB / 0.5749 GB, free: 148.8 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.sim & ./Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5064098109724]