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.001344/0.001344, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001476/0.001476, allocations: 213.2 kB / 23 MB, free: 4.969 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 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.137/0.137, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.89 kB / 472.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2956, allocations: 59.88 MB / 0.5199 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.009867/0.3055, allocations: 10.24 MB / 0.5298 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03925/0.3447, allocations: 29.73 MB / 0.5589 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.3467, allocations: 35.53 kB / 0.5589 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.3487, allocations: 0.6827 MB / 0.5596 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008076/0.3568, allocations: 2.761 MB / 0.5623 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.3695, allocations: 4.501 MB / 0.5667 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005043/0.3746, allocations: 3.418 MB / 0.57 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.377, allocations: 1.706 MB / 0.5717 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.3794, allocations: 1.691 MB / 0.5733 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.3821, allocations: 1.888 MB / 0.5752 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.3827, allocations: 324 kB / 0.5755 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.3932, allocations: 3.635 MB / 0.579 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.3943, allocations: 0.7556 MB / 0.5798 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.3964, allocations: 1.346 MB / 0.5811 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.4127, allocations: 7.475 MB / 0.5884 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4127, allocations: 0 / 0.5884 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4127, allocations: 0 / 0.5884 GB, free: 3.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.338e-05/0.4128, allocations: 3.938 kB / 0.5884 GB, free: 3.262 MB / 430.1 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.007848/0.4206, allocations: 3.709 MB / 0.592 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4207, allocations: 8.031 kB / 0.592 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.4235, allocations: 0.627 MB / 0.5926 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.4266, allocations: 1.45 MB / 0.594 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.4269, allocations: 312.4 kB / 0.5943 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/0.4274, allocations: 275.9 kB / 0.5946 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005705/0.4331, allocations: 3.153 MB / 0.5977 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.4331, allocations: 0 / 0.5977 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.4334, allocations: 112 kB / 0.5978 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.4335, allocations: 60 kB / 0.5978 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006856/0.4403, allocations: 3.819 MB / 0.6016 GB, free: 5.547 MB / 446.1 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.01729/0.4576, allocations: 7.885 MB / 0.6093 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005065/0.4627, allocations: 2.775 MB / 0.612 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.4648, allocations: 1.23 MB / 0.6132 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/0.4796, allocations: 6.015 MB / 0.6191 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4796, allocations: 56.55 kB / 0.6191 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/0.4807, allocations: 222.6 kB / 0.6193 GB, free: 3.172 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 4.438e-06/0.4807, allocations: 0 / 0.6193 GB, free: 3.172 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.05168/0.5323, allocations: 11.85 MB / 0.6309 GB, free: 7.273 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.5324, allocations: 77.41 kB / 0.631 GB, free: 7.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.5339, allocations: 1.111 MB / 0.6321 GB, free: 6.059 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.5342, allocations: 65.7 kB / 0.6321 GB, free: 5.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009188/0.5351, allocations: 1.18 MB / 0.6333 GB, free: 4.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/0.536, allocations: 0.9064 MB / 0.6342 GB, free: 3.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009455/0.5369, allocations: 0.5691 MB / 0.6347 GB, free: 3.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5371, allocations: 301.1 kB / 0.635 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.539, allocations: 1.013 MB / 0.636 GB, free: 1.992 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/0.5419, allocations: 1.909 MB / 0.6379 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005255/0.5471, allocations: 3.196 MB / 0.641 GB, free: 12.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.5471, allocations: 8 kB / 0.641 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01156/0.5587, allocations: 4.11 MB / 0.645 GB, free: 7.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.5587, allocations: 16.38 kB / 0.645 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.5588, allocations: 32 kB / 0.645 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007134/0.5659, allocations: 1.356 MB / 0.6464 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.5686, allocations: 0.6514 MB / 0.647 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.5815, allocations: 7.846 MB / 0.6547 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.5838, allocations: 107.9 kB / 0.6548 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/0.5841, allocations: 167.9 kB / 0.6549 GB, free: 13.36 MB / 0.4981 GB 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.001104/0.5852, allocations: 0.5125 MB / 0.6554 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/0.5857, allocations: 195 kB / 0.6556 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.5972, allocations: 3.869 MB / 0.6594 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.285e-05/0.5973, allocations: 19.89 kB / 0.6594 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5973, allocations: 0 / 0.6594 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.5978, allocations: 166.7 kB / 0.6596 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.5982, allocations: 52 kB / 0.6596 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.5996, allocations: 55.98 kB / 0.6597 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004773/0.6, allocations: 225.6 kB / 0.6599 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01017/0.6102, allocations: 3.378 MB / 0.6632 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007199/0.6174, allocations: 3.98 MB / 0.6671 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001975/0.6194, allocations: 1.043 MB / 0.6681 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00105/0.6204, allocations: 0.6578 MB / 0.6687 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of Backend: time 4.91e-07/0.6204, allocations: 4 kB / 0.6687 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.6313, allocations: 4.288 MB / 0.6729 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of SimCode: time 0.007595/0.6389, allocations: 5.014 MB / 0.6778 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of Templates: time 0.2916/0.9305, allocations: 67.24 MB / 0.7435 GB, free: 174.9 MB / 0.5606 GB " [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 os._exit(0), Time elapsed: 7.326227892001043] Failed to read output from testmodel.py, exit status != 0: 0.9391043530049501 0.949541768 0.534169655 Calling exit ...