Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001889/0.001889, allocations: 88.16 kB / 19.44 MB, free: 192 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.002025/0.002025, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1386/0.1386, allocations: 17.37 MB / 276.9 MB, free: 11.69 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.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.LeadAcidBattery") translateModel(Chemical.Obsolete.Examples.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.LeadAcidBattery") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.588e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.01529/0.01531, allocations: 11.48 MB / 364.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04926/0.06458, allocations: 33.89 MB / 398.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.06655, allocations: 35.75 kB / 398.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.06865, allocations: 0.6858 MB / 398.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008807/0.07746, allocations: 2.858 MB / 401.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.09066, allocations: 4.635 MB / 406.3 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005685/0.09635, allocations: 3.533 MB / 409.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1557/0.252, allocations: 1.752 MB / 411.6 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.2558, allocations: 2.351 MB / 413.9 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/0.2589, allocations: 1.558 MB / 415.5 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008069/0.2597, allocations: 325.3 kB / 415.8 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.2706, allocations: 3.578 MB / 419.4 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.272, allocations: 0.7749 MB / 420.2 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.2743, allocations: 1.163 MB / 421.3 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02089/0.2952, allocations: 7.956 MB / 429.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.2952, allocations: 7.391 kB / 429.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2952, allocations: 0 / 429.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.868e-05/0.2953, allocations: 0 / 429.3 MB, free: 19.28 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.007656/0.3029, allocations: 3.976 MB / 433.3 MB, free: 17.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.303, allocations: 11.5 kB / 433.3 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.3063, allocations: 1.058 MB / 434.3 MB, free: 17.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.3095, allocations: 1.473 MB / 435.8 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.3097, allocations: 302.4 kB / 436.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.3101, allocations: 274.6 kB / 436.4 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.3148, allocations: 3.229 MB / 439.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.3148, allocations: 0 / 439.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.3151, allocations: 109.8 kB / 439.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.3151, allocations: 65.44 kB / 439.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.3204, allocations: 3.701 MB / 443.5 MB, free: 14.03 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.01482/0.3352, allocations: 9.123 MB / 452.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.339, allocations: 2.664 MB / 455.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.3404, allocations: 1.135 MB / 456.4 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.3553, allocations: 6.331 MB / 462.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.3554, allocations: 55.39 kB / 462.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00108/0.3565, allocations: 226.6 kB / 463 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 5.6e-06/0.3565, allocations: 0 / 463 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=251): time 0.04585/0.4023, allocations: 11.12 MB / 474.1 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.4024, allocations: 85.45 kB / 474.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.4047, allocations: 1.413 MB / 475.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003286/0.405, allocations: 69.7 kB / 475.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.4062, allocations: 1.297 MB / 477 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001343/0.4075, allocations: 0.9404 MB / 477.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.4086, allocations: 0.6542 MB / 478.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.4089, allocations: 476.8 kB / 479 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.4109, allocations: 0.9587 MB / 480 MB, free: 10.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.4142, allocations: 2.289 MB / 482.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006197/0.4204, allocations: 3.712 MB / 486 MB, free: 3.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.4204, allocations: 8 kB / 486 MB, free: 3.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01142/0.4318, allocations: 4.147 MB / 490.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.4319, allocations: 23.94 kB / 490.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/0.4319, allocations: 28 kB / 490.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008133/0.4401, allocations: 1.449 MB / 491.6 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.4428, allocations: 0.6506 MB / 492.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.457, allocations: 9.618 MB / 0.4902 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.4593, allocations: 95.98 kB / 0.4902 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/0.4597, allocations: 171.9 kB / 0.4904 GB, free: 2.785 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.001253/0.4609, allocations: 0.5455 MB / 0.4909 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006952/0.4616, allocations: 274.7 kB / 0.4912 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.4729, allocations: 3.744 MB / 0.4949 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.473, allocations: 27.98 kB / 0.4949 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.473, allocations: 8 kB / 0.4949 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/0.473, allocations: 11.95 kB / 0.4949 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.4889, allocations: 5.985 MB / 0.5007 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.4889, allocations: 0 / 0.5007 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.491, allocations: 436.9 kB / 0.5012 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007578/0.4986, allocations: 1.348 MB / 0.5025 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000491/0.4991, allocations: 103.9 kB / 0.5026 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.5118, allocations: 9.143 MB / 0.5115 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.5118, allocations: 4 kB / 0.5115 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.5255, allocations: 4.992 MB / 0.5164 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008713/0.5263, allocations: 170.7 kB / 0.5166 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/0.5269, allocations: 55.98 kB / 0.5166 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.5283, allocations: 59.98 kB / 0.5167 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/0.5289, allocations: 241 kB / 0.5169 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000267/0.5291, allocations: 115.9 kB / 0.517 GB, free: 6.941 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001208/0.5303, allocations: 0.7592 MB / 0.5177 GB, free: 6.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5303, allocations: 0 / 0.5177 GB, free: 6.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005158/0.5355, allocations: 1.496 MB / 0.5192 GB, free: 4.68 MB / 410.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.003559/0.539, allocations: 1.599 MB / 0.5208 GB, free: 3.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008019/0.5471, allocations: 3.568 MB / 0.5242 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.5471, allocations: 0 / 0.5242 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004192/0.5513, allocations: 2.065 MB / 0.5263 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.5535, allocations: 451.3 kB / 0.5267 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009758/0.5632, allocations: 4.776 MB / 0.5314 GB, free: 8.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.5645, allocations: 1.018 MB / 0.5324 GB, free: 7.266 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002301/0.5668, allocations: 0.4897 MB / 0.5328 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.5679, allocations: 351.7 kB / 0.5332 GB, free: 6.438 MB / 426.7 MB Notification: Performance of SimCode: time 3.446e-06/0.5679, allocations: 0 / 0.5332 GB, free: 6.438 MB / 426.7 MB Notification: Performance of Templates: time 0.2299/0.7978, allocations: 54.81 MB / 0.5867 GB, free: 141.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.sim & ./Chemical_Chemical.Obsolete.Examples.LeadAcidBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.607807580032386]