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.002151/0.002151, allocations: 89.48 kB / 19.44 MB, free: 332 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.00191/0.00191, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.504 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.1435/0.1435, 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 2.375e-06/2.375e-06, allocations: 0 / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.491e-05, allocations: 2.312 kB / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.01706/0.0171, allocations: 11.48 MB / 364.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05507/0.07217, allocations: 33.88 MB / 398.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.07439, allocations: 43.69 kB / 398.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.07716, allocations: 0.6897 MB / 398.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.08799, allocations: 2.847 MB / 401.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.102, allocations: 4.639 MB / 406.4 MB, free: 4.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006728/0.1087, allocations: 3.533 MB / 409.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1746/0.2833, allocations: 1.748 MB / 411.7 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007098/0.2904, allocations: 2.364 MB / 414.1 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.2949, allocations: 1.552 MB / 415.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.2968, allocations: 323.7 kB / 415.9 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01446/0.3113, allocations: 3.581 MB / 419.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.3132, allocations: 0.7765 MB / 420.3 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004134/0.3173, allocations: 1.16 MB / 421.4 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01823/0.3356, allocations: 7.962 MB / 429.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3356, allocations: 0 / 429.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3356, allocations: 3.938 kB / 429.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001884/0.3358, allocations: 0 / 429.4 MB, free: 19.32 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.009713/0.3455, allocations: 3.976 MB / 433.4 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3455, allocations: 9.781 kB / 433.4 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.3489, allocations: 1.066 MB / 434.5 MB, free: 17.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.352, allocations: 1.467 MB / 435.9 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.3522, allocations: 304.6 kB / 436.2 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/0.3527, allocations: 277.7 kB / 436.5 MB, free: 16.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/0.3579, allocations: 3.22 MB / 439.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.3579, allocations: 0 / 439.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.3582, allocations: 111.8 kB / 439.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.3582, allocations: 61.94 kB / 439.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005712/0.364, allocations: 3.704 MB / 443.6 MB, free: 13.93 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.01576/0.3797, allocations: 9.118 MB / 452.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.3836, allocations: 2.665 MB / 455.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.3851, allocations: 1.139 MB / 456.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/0.4023, allocations: 6.326 MB / 462.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.4024, allocations: 51.39 kB / 462.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/0.4037, allocations: 218.6 kB / 463.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 1.119e-05/0.4037, allocations: 7.188 kB / 463.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=251): time 0.04778/0.4515, allocations: 11.12 MB / 474.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.4515, allocations: 77.41 kB / 474.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.454, allocations: 1.417 MB / 475.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004629/0.4545, allocations: 73.17 kB / 475.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.4559, allocations: 1.3 MB / 477.1 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.4575, allocations: 0.9487 MB / 478 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.4589, allocations: 0.6464 MB / 478.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.4591, allocations: 484.7 kB / 479.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.4613, allocations: 0.9587 MB / 480.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/0.4651, allocations: 2.289 MB / 482.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00656/0.4716, allocations: 3.703 MB / 486.1 MB, free: 2.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.4717, allocations: 8 kB / 486.1 MB, free: 2.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01193/0.4836, allocations: 4.154 MB / 490.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.4836, allocations: 19.94 kB / 490.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-05/0.4837, allocations: 28 kB / 490.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008441/0.4921, allocations: 1.45 MB / 491.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.4951, allocations: 0.6528 MB / 492.4 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.5101, allocations: 9.621 MB / 0.4903 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.5125, allocations: 95.98 kB / 0.4904 GB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006078/0.5132, allocations: 175.9 kB / 0.4905 GB, free: 2.617 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.001562/0.5147, allocations: 0.5374 MB / 0.4911 GB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000861/0.5156, allocations: 274.7 kB / 0.4913 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.5272, allocations: 3.748 MB / 0.495 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.5273, allocations: 24 kB / 0.495 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.5273, allocations: 4 kB / 0.495 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/0.5273, allocations: 11.95 kB / 0.495 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.5436, allocations: 5.979 MB / 0.5009 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.5436, allocations: 3.938 kB / 0.5009 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/0.5457, allocations: 440.5 kB / 0.5013 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007493/0.5532, allocations: 1.352 MB / 0.5026 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/0.5536, allocations: 103.9 kB / 0.5027 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.5666, allocations: 9.156 MB / 0.5116 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5666, allocations: 0 / 0.5116 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.5803, allocations: 4.981 MB / 0.5165 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.5808, allocations: 174.7 kB / 0.5167 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/0.5813, allocations: 52 kB / 0.5167 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.5827, allocations: 63.98 kB / 0.5168 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.5833, allocations: 244.9 kB / 0.517 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/0.5836, allocations: 107.9 kB / 0.5171 GB, free: 6.777 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.5849, allocations: 0.7592 MB / 0.5179 GB, free: 6.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5849, allocations: 0 / 0.5179 GB, free: 6.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004644/0.5895, allocations: 1.489 MB / 0.5193 GB, free: 4.523 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.00378/0.5933, allocations: 1.608 MB / 0.5209 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008076/0.6014, allocations: 3.563 MB / 0.5244 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6014, allocations: 0 / 0.5244 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004209/0.6056, allocations: 2.071 MB / 0.5264 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.608, allocations: 451 kB / 0.5268 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6185, allocations: 4.77 MB / 0.5315 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.62, allocations: 1.025 MB / 0.5325 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002168/0.6222, allocations: 0.4925 MB / 0.533 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009582/0.6231, allocations: 351.7 kB / 0.5333 GB, free: 6.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6231, allocations: 0 / 0.5333 GB, free: 6.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2099/0.833, allocations: 54.82 MB / 0.5868 GB, free: 140.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.LeadAcidBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.618599311099388]