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.0007272/0.0007272, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001744, allocations: 440 kB / 10.41 MB, free: 284 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.0006966/0.0006966, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009369/0.001633, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9509/0.9509, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08537/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.08696/0.08696, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01109/0.09804, allocations: 6.926 MB / 268.4 MB, free: 6.414 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.222e-06/1.222e-06, allocations: 0 / 269.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.15e-05, allocations: 2.312 kB / 269.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.1325/0.1325, allocations: 11.4 MB / 281.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.026/0.1585, allocations: 31.36 MB / 312.5 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.1601, allocations: 39.69 kB / 312.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1613, allocations: 0.6665 MB / 313.2 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.1668, allocations: 2.772 MB / 316 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008211/0.175, allocations: 4.201 MB / 320.2 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.1774, allocations: 3.51 MB / 323.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1786, allocations: 1.787 MB / 325.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.1805, allocations: 2.551 MB / 328 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.1818, allocations: 1.575 MB / 329.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.1821, allocations: 320 kB / 329.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.1883, allocations: 3.462 MB / 333.4 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.1887, allocations: 0.5413 MB / 333.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007353/0.1894, allocations: 0.9125 MB / 334.8 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.1965, allocations: 5.852 MB / 340.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.1965, allocations: 0 / 340.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1965, allocations: 3.938 kB / 340.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.1965, allocations: 3.938 kB / 340.7 MB, free: 11.39 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.005203/0.2017, allocations: 4.625 MB / 345.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2017, allocations: 12.03 kB / 345.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.204, allocations: 1.021 MB / 346.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.2055, allocations: 0.9835 MB / 347.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.2056, allocations: 300.6 kB / 347.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.206, allocations: 268.3 kB / 347.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.2088, allocations: 2.305 MB / 350.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.2089, allocations: 4 kB / 350.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.2091, allocations: 111.9 kB / 350.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.2091, allocations: 64 kB / 350.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.2118, allocations: 1.921 MB / 352.3 MB, free: 15.55 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.009136/0.2209, allocations: 5.942 MB / 358.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.2236, allocations: 2.258 MB / 360.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.2243, allocations: 0.5944 MB / 361.1 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008082/0.2324, allocations: 4.815 MB / 365.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.2324, allocations: 52.56 kB / 366 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004992/0.2329, allocations: 214.6 kB / 366.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 3.847e-06/0.233, allocations: 0 / 366.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=248): time 0.02553/0.2585, allocations: 10.28 MB / 376.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2585, allocations: 77.41 kB / 376.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.2591, allocations: 1.014 MB / 377.5 MB, free: 6.055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.2592, allocations: 65.7 kB / 377.6 MB, free: 5.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000718/0.2599, allocations: 1.056 MB / 378.7 MB, free: 4.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006907/0.2606, allocations: 0.8907 MB / 379.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005157/0.2611, allocations: 0.5571 MB / 380.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.2612, allocations: 309.1 kB / 380.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.2618, allocations: 410.1 kB / 380.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009469/0.2627, allocations: 1.298 MB / 382.1 MB, free: 1.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.2644, allocations: 2.174 MB / 384.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.2645, allocations: 11.94 kB / 384.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.003641/0.2681, allocations: 2.342 MB / 386.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2681, allocations: 16 kB / 386.7 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.2681, allocations: 28 kB / 386.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.2712, allocations: 1.176 MB / 387.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.2726, allocations: 0.784 MB / 388.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004821/0.2774, allocations: 5.793 MB / 394.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.2786, allocations: 100 kB / 394.5 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.2788, allocations: 146.8 kB / 394.7 MB, free: 3.699 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 (338): * Single equations (assignments): 333 * 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.0005993/0.2794, allocations: 307.6 kB / 395 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.2797, allocations: 183.8 kB / 395.2 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/0.2833, allocations: 2.242 MB / 397.4 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.2833, allocations: 28 kB / 397.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2833, allocations: 8 kB / 397.4 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.2834, allocations: 11.95 kB / 397.4 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.2886, allocations: 3.424 MB / 400.9 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2886, allocations: 7.938 kB / 400.9 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.2896, allocations: 0.5306 MB / 401.4 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.2899, allocations: 166.7 kB / 401.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/0.2929, allocations: 1.096 MB / 402.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.2932, allocations: 91.94 kB / 402.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/0.2974, allocations: 5.474 MB / 408.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2974, allocations: 4 kB / 408.2 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.3016, allocations: 2.654 MB / 410.9 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.3018, allocations: 52 kB / 410.9 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.3025, allocations: 51.98 kB / 411 MB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.3028, allocations: 233.5 kB / 411.2 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.303, allocations: 95.94 kB / 411.3 MB, free: 2.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003782/0.3034, allocations: 461 kB / 411.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3034, allocations: 0 / 411.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003435/0.3068, allocations: 1.442 MB / 413.2 MB, free: 0.5234 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 (219): * Single equations (assignments): 214 * 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.002606/0.3094, allocations: 1.567 MB / 414.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.3125, allocations: 2.234 MB / 417 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.241e-05/0.3126, allocations: 57.59 kB / 417.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.3143, allocations: 1.471 MB / 418.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.3164, allocations: 2.386 MB / 420.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.3323, allocations: 4.278 MB / 425.2 MB, free: 3.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3327, allocations: 436.2 kB / 425.6 MB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001327/0.334, allocations: 493.2 kB / 426.1 MB, free: 3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.3352, allocations: 0.6283 MB / 426.7 MB, free: 2.379 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/0.3352, allocations: 0 / 426.7 MB, free: 2.379 MB / 410.7 MB Notification: Performance of Templates: time 0.1809/0.516, allocations: 60.65 MB / 487.4 MB, free: 62.54 MB / 410.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: 4.370982928201556]