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.001097/0.001097, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002635, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001129/0.001129, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002552, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9781/0.9781, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08076/1.059, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.08277/0.08277, allocations: 17.36 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01099/0.09377, allocations: 6.932 MB / 268.3 MB, free: 6.512 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.623e-06/1.623e-06, allocations: 0 / 269.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.879e-05, allocations: 2.312 kB / 269.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.1219/0.1219, allocations: 11.39 MB / 280.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02605/0.1479, allocations: 31.36 MB / 312.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.1498, allocations: 35.75 kB / 312.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.1513, allocations: 0.6743 MB / 313 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006523/0.1579, allocations: 2.772 MB / 315.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008617/0.1665, allocations: 4.205 MB / 320 MB, free: 176 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003776/0.1703, allocations: 3.516 MB / 323.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.1721, allocations: 1.772 MB / 325.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.1747, allocations: 2.555 MB / 327.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.1765, allocations: 1.579 MB / 329.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006187/0.1771, allocations: 320 kB / 329.7 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007286/0.1844, allocations: 3.458 MB / 333.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.1852, allocations: 0.5452 MB / 333.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.1868, allocations: 0.9047 MB / 334.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.1993, allocations: 5.868 MB / 340.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.765e-05/0.1993, allocations: 0 / 340.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1993, allocations: 0 / 340.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.126e-05/0.1994, allocations: 0 / 340.5 MB, free: 11.54 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.005079/0.2045, allocations: 4.633 MB / 345.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2045, allocations: 8.031 kB / 345.1 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.2063, allocations: 1.025 MB / 346.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.208, allocations: 0.9679 MB / 347.1 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.2082, allocations: 312.6 kB / 347.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.2085, allocations: 276.2 kB / 347.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.2107, allocations: 2.305 MB / 350 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.2107, allocations: 0 / 350 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.2109, allocations: 108 kB / 350.1 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.2109, allocations: 60 kB / 350.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.2131, allocations: 1.917 MB / 352.1 MB, free: 15.7 MB / 346.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.008186/0.2213, allocations: 5.944 MB / 358 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.2235, allocations: 2.259 MB / 360.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.2241, allocations: 0.5866 MB / 360.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007284/0.2313, allocations: 4.819 MB / 365.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.2314, allocations: 52.5 kB / 365.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005457/0.2319, allocations: 214.6 kB / 366 MB, free: 1.637 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 3.768e-06/0.2319, allocations: 4 kB / 366 MB, free: 1.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=251): time 0.01917/0.2511, allocations: 9.073 MB / 375 MB, free: 8.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2511, allocations: 81.34 kB / 375.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.2519, allocations: 1.021 MB / 376.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.252, allocations: 65.7 kB / 376.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.2524, allocations: 1.06 MB / 377.3 MB, free: 6.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.2529, allocations: 0.8945 MB / 378.2 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008148/0.2537, allocations: 0.565 MB / 378.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.2538, allocations: 305.1 kB / 379 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.2544, allocations: 411.1 kB / 379.4 MB, free: 4.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.2552, allocations: 1.299 MB / 380.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.2568, allocations: 2.096 MB / 382.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.2568, allocations: 8 kB / 382.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.003591/0.2604, allocations: 2.335 MB / 385.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.2604, allocations: 19.94 kB / 385.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.2604, allocations: 28 kB / 385.2 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003222/0.2637, allocations: 1.176 MB / 386.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.2651, allocations: 0.7905 MB / 387.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.2701, allocations: 5.799 MB / 393 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.2713, allocations: 96 kB / 393.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.2715, allocations: 146.8 kB / 393.2 MB, free: 5.09 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.0006168/0.2722, allocations: 311.7 kB / 393.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.2724, allocations: 183.8 kB / 393.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.2761, allocations: 2.259 MB / 396 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.2761, allocations: 27.98 kB / 396 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2761, allocations: 8 kB / 396 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.2761, allocations: 11.95 kB / 396 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.2814, allocations: 3.479 MB / 399.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.2814, allocations: 4 kB / 399.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.2827, allocations: 0.5426 MB / 400 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.283, allocations: 166.6 kB / 400.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.2859, allocations: 1.084 MB / 401.3 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.2861, allocations: 91.94 kB / 401.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/0.2901, allocations: 5.485 MB / 406.8 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.2901, allocations: 7.875 kB / 406.9 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/0.294, allocations: 2.645 MB / 409.5 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.2943, allocations: 48 kB / 409.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.2949, allocations: 59.98 kB / 409.6 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.2951, allocations: 237.4 kB / 409.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.2953, allocations: 91.92 kB / 409.9 MB, free: 3.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003405/0.2956, allocations: 457 kB / 410.4 MB, free: 3.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2956, allocations: 0 / 410.4 MB, free: 3.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00275/0.2984, allocations: 1.442 MB / 411.8 MB, free: 1.852 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.001971/0.3003, allocations: 1.586 MB / 413.4 MB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.3036, allocations: 2.193 MB / 415.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.536e-05/0.3037, allocations: 42.69 kB / 415.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.3052, allocations: 1.329 MB / 417 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.3065, allocations: 0.6451 MB / 417.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.3235, allocations: 4.314 MB / 421.9 MB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3238, allocations: 440.3 kB / 422.4 MB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001439/0.3253, allocations: 488.6 kB / 422.8 MB, free: 6.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.3263, allocations: 0.6195 MB / 423.5 MB, free: 5.973 MB / 410.7 MB Notification: Performance of SimCode: time 1.704e-06/0.3263, allocations: 0 / 423.5 MB, free: 5.973 MB / 410.7 MB Notification: Performance of Templates: time 0.1712/0.4975, allocations: 61.27 MB / 484.7 MB, free: 64.58 MB / 410.7 MB " [Timeout remaining time 660] 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: 4.349701606668532]